aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-05 14:16:58 +0800
committermiwi <miwi@FreeBSD.org>2014-06-05 14:16:58 +0800
commit952c37fd134fce4315da3508edc197c72f32e557 (patch)
tree367d4e7b012f6b34b0284a883181ef61680e8baa /www
parent9cd2815916dbb967b5144591c13867ed268c5bd3 (diff)
downloadfreebsd-ports-gnome-952c37fd134fce4315da3508edc197c72f32e557.tar.gz
freebsd-ports-gnome-952c37fd134fce4315da3508edc197c72f32e557.tar.zst
freebsd-ports-gnome-952c37fd134fce4315da3508edc197c72f32e557.zip
- Stage support
PR: 190131
Diffstat (limited to 'www')
-rw-r--r--www/hastymail2-devel/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/hastymail2-devel/Makefile b/www/hastymail2-devel/Makefile
index 1960e8c302b7..09ddf2e893b1 100644
--- a/www/hastymail2-devel/Makefile
+++ b/www/hastymail2-devel/Makefile
@@ -33,7 +33,6 @@ HASTYMAIL_REV= 2011.08.22
OPTIONS_DEFINE= PGSQL MYSQL DB
DB_DESC= Use older pear DB (instead of MDB2)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -69,15 +68,12 @@ pre-install:
@${ECHO_CMD} @dirrmtry %%ETCDIR%% >> ${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}
- @${MKDIR} ${ETCDIR}
+ | ${PAX} -rwd ${STAGEDIR}${PREFIX}/${INSTALL_DIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${INSTALL_DIR}
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
@${INSTALL_DATA} ${WRKSRC}/hastymail2.conf.example \
- ${ETCDIR}/hastymail2.conf.sample
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${ETCDIR}/hastymail2.conf.sample
.include <bsd.port.mk>