Created
July 30, 2018 01:44
-
-
Save ndowens/02d90ca34a64b7530adc31f3f2bf0db7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by: Ricky E. <[email protected]> | |
# $FreeBSD: head/www/gist/Makefile 412351 2016-04-01 14:33:55Z mat $ | |
PORTNAME= gist | |
PORTVERSION= 5.0.0 | |
DISTVERSIONPREFIX= v | |
CATEGORIES= www net | |
MAINTAINER= [email protected] | |
COMMENT= Gist pastebin posting command | |
LICENSE= MIT | |
LICENSE_FILE= ${WRKSRC}/LICENSE.MIT | |
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss | |
CONFLICTS= p5-App-gist-[0-9]* | |
USE_GITHUB= yes | |
GH_ACCOUNT= defunkt | |
USE_RUBY= YES | |
RUBY_NO_BUILD_DEPENDS= YES | |
NO_BUILD= YES | |
NO_ARCH= yes | |
PLIST_FILES= bin/gist \ | |
man/man1/gist.1.gz | |
post-patch: | |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/build/gist | |
do-install: | |
${INSTALL_SCRIPT} ${WRKSRC}/build/gist ${STAGEDIR}${PREFIX}/bin/gist | |
${INSTALL_MAN} ${WRKSRC}/build/gist.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | |
.include <bsd.port.mk> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment