aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-11 03:30:15 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-11 03:30:15 +0800
commit251054a10afe309c250179b7a7995af5069a99b8 (patch)
tree53198c84e0d226edc396009028fafa44bc7a3090 /misc
parent0c5fcae26eda2b315925a0e8ac420cfe0d25e868 (diff)
downloadfreebsd-ports-gnome-251054a10afe309c250179b7a7995af5069a99b8.tar.gz
freebsd-ports-gnome-251054a10afe309c250179b7a7995af5069a99b8.tar.zst
freebsd-ports-gnome-251054a10afe309c250179b7a7995af5069a99b8.zip
- Add stage support
- Add shebangfix to USES - Add LICENSE - Add DOCS option
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>