aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-17 23:08:45 +0800
committermiwi <miwi@FreeBSD.org>2014-02-17 23:08:45 +0800
commitf058558daacea1a4c7a45befa93d5b8255617c18 (patch)
tree4f9fb13d027899dbbc30109228ad4f8748ea8458 /www
parentbbca56cf962e3c5d401f467c6b330a65f636dabb (diff)
downloadfreebsd-ports-gnome-f058558daacea1a4c7a45befa93d5b8255617c18.tar.gz
freebsd-ports-gnome-f058558daacea1a4c7a45befa93d5b8255617c18.tar.zst
freebsd-ports-gnome-f058558daacea1a4c7a45befa93d5b8255617c18.zip
- Stage support
Diffstat (limited to 'www')
-rw-r--r--www/hastymail/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/www/hastymail/Makefile b/www/hastymail/Makefile
index 36e8b99beddf..a3f0692ba57b 100644
--- a/www/hastymail/Makefile
+++ b/www/hastymail/Makefile
@@ -20,7 +20,6 @@ PLIST= ${WRKDIR}/pkg-plist
WANT_PHP_WEB= yes
USE_PHP= session imap pcre
-NO_STAGE= yes
.include <bsd.port.pre.mk>
# Don't install automatically CVS directories, patched files and the default config file.
@@ -39,14 +38,11 @@ pre-install:
@${ECHO_CMD} etc/hastymail.conf.sample >> ${PLIST}
do-install:
- @${MKDIR} ${PREFIX}/${INSTALL_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALL_DIR}
@cd ${WRKSRC} && ${FIND} . ${FIND_SKIP_OPTS} | \
- ${PAX} -rwd ${PREFIX}/${INSTALL_DIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALL_DIR}
+ ${PAX} -rwd ${STAGEDIR}${PREFIX}/${INSTALL_DIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${INSTALL_DIR}
@${INSTALL_DATA} ${WRKSRC}/hastymail.conf-example \
- ${PREFIX}/etc/hastymail.conf.sample
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${PREFIX}/etc/hastymail.conf.sample
.include <bsd.port.post.mk>