From 251054a10afe309c250179b7a7995af5069a99b8 Mon Sep 17 00:00:00 2001 From: danilo Date: Tue, 10 Dec 2013 19:30:15 +0000 Subject: - Add stage support - Add shebangfix to USES - Add LICENSE - Add DOCS option --- misc/telbook/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'misc') diff --git a/misc/telbook/Makefile b/misc/telbook/Makefile index a04fbcb2a89b..e44f8544deff 100644 --- a/misc/telbook/Makefile +++ b/misc/telbook/Makefile @@ -10,22 +10,23 @@ MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple telephone book +LICENSE= GPLv2 + RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 +USES= shebangfix +SHEBANG_FILES= telbook NO_BUILD= yes USE_BZIP2= yes PORTDOCS= README PLIST_FILES= bin/telbook -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include -- cgit