diff options
-rw-r--r-- | misc/pastebinit/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile index 37e5b4f09668..766dc9a9a7f0 100644 --- a/misc/pastebinit/Makefile +++ b/misc/pastebinit/Makefile @@ -6,7 +6,7 @@ PORTREVISION= 2 CATEGORIES= misc python MASTER_SITES= https://launchpad.net/pastebinit/trunk/${PORTVERSION}/+download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= amdmi3@FreeBSD.org COMMENT= Command line utility for pastebing LICENSE= GPLv2 # or later @@ -18,26 +18,22 @@ USES= python:run shebangfix tar:bzip2 SHEBANG_FILES= pastebinit python_OLD_CMD= /usr/bin/python3 NO_BUILD= yes +NO_ARCH= yes PLIST_FILES= bin/pastebinit +PORTDATA= * OPTIONS_DEFINE= PASTEBINS +OPTIONS_DEFAULT=PASTEBINS PASTEBINS_DESC= Install default pastebins -OPTIONS_DEFAULT= PASTEBINS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPASTEBINS} -PORTDATA= pastebin.d -.endif post-patch: ${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ ${WRKSRC}/pastebinit do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} -.if ${PORT_OPTIONS:MPASTEBINS} + +do-install-PASTEBINS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}) -.endif .include <bsd.port.mk> |