aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/telbook/Makefile15
1 files changed, 8 insertions, 7 deletions
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 <bsd.port.options.mk>
+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 <bsd.port.mk>