aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-18 18:24:29 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-18 18:24:29 +0800
commitc4190314d51c7da987a99892127854f3608c10ae (patch)
treeddb16358e07223864303db8a0173cfc0049d2717 /devel
parentabe4c52b138ce0f3e18896b941381160ffc2f1f9 (diff)
downloadfreebsd-ports-gnome-c4190314d51c7da987a99892127854f3608c10ae.tar.gz
freebsd-ports-gnome-c4190314d51c7da987a99892127854f3608c10ae.tar.zst
freebsd-ports-gnome-c4190314d51c7da987a99892127854f3608c10ae.zip
- Support staging
- Add license
Diffstat (limited to 'devel')
-rw-r--r--devel/phptags/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/devel/phptags/Makefile b/devel/phptags/Makefile
index b3a5c8b4756f..bad3975c75ba 100644
--- a/devel/phptags/Makefile
+++ b/devel/phptags/Makefile
@@ -9,21 +9,20 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= novel@FreeBSD.org
COMMENT= Create a tags file from PHP sources
+LICENSE= BSD2CLAUSE
+
GNU_CONFIGURE= yes
-MAN1= phptags.1
-PLIST_FILES= bin/phptags \
- etc/phptags.conf.sample
+PLIST_FILES= bin/phptags etc/phptags.conf.sample man/man1/phptags.1.gz
PORTDOCS= AUTHORS TODO README ChangeLog INSTALL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
- @${INSTALL_DATA} ${WRKSRC}/phptags.conf.sample ${PREFIX}/etc
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/phptags.conf.sample ${STAGEDIR}${PREFIX}/etc
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>