diff options
author | garga <garga@FreeBSD.org> | 2013-11-01 07:50:20 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-11-01 07:50:20 +0800 |
commit | 226e96e0bbf59095302974a18a5fba25faff5dda (patch) | |
tree | 754ac9caa135bdaccf6516d22b6efe8785d4bc83 /www | |
parent | 63213ec66c1efd6e97309b445d03780b2c6f9288 (diff) | |
download | freebsd-ports-gnome-226e96e0bbf59095302974a18a5fba25faff5dda.tar.gz freebsd-ports-gnome-226e96e0bbf59095302974a18a5fba25faff5dda.tar.zst freebsd-ports-gnome-226e96e0bbf59095302974a18a5fba25faff5dda.zip |
. Add LICENSE
. Support STAGE
. Simplify Makefile
Diffstat (limited to 'www')
-rw-r--r-- | www/dotproject/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/www/dotproject/Makefile b/www/dotproject/Makefile index 0fe3475a65ad..38000e4a2b1c 100644 --- a/www/dotproject/Makefile +++ b/www/dotproject/Makefile @@ -8,34 +8,25 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/dotProject%20Version%20${PORTVERSION} MAINTAINER= garga@FreeBSD.org COMMENT= Open Source Project Management tool +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes USE_PHP= gd mysql session zlib WANT_PHP_WEB= yes USE_APACHE_RUN= 22+ +NEED_ROOT= yes SUB_FILES= pkg-message OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT=LDAP -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MLDAP} -USE_PHP+= ldap xml -.endif - -post-extract: - @${FIND} ${WRKSRC} -type d -name '.svn' | ${XARGS} ${RM} -rf - @${FIND} ${WRKSRC} -type f -name '.cvsignore' -delete +LDAP_USE= PHP=ldap PHP=xml do-install: - ${MKDIR} ${WWWDIR} - ${CP} -R ${WRKSRC}/* ${WWWDIR} - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${WWWDIR} + ${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |