diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2014-06-12 13:28:42 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2014-06-12 13:28:42 +0000 |
commit | 558bad85d65f642c724ef0a5f4381c5b2afe8298 (patch) | |
tree | 84fc7be6e83b08709f1f60ce78005a79bd959d6b | |
parent | e32e56488b19aa687b6848787d8f5d31831f6903 (diff) | |
download | ports-558bad85d65f642c724ef0a5f4381c5b2afe8298.tar.gz ports-558bad85d65f642c724ef0a5f4381c5b2afe8298.zip |
Notes
-rw-r--r-- | www/usermanager/Makefile | 15 | ||||
-rw-r--r-- | www/usermanager/pkg-plist | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/www/usermanager/Makefile b/www/usermanager/Makefile index a21867f1b3d2..633d4ddba979 100644 --- a/www/usermanager/Makefile +++ b/www/usermanager/Makefile @@ -22,7 +22,6 @@ PLIST_SUB+= INSTALLDIR=${INSTALLDIR} _INSTDIR= www/data/UserManager INSTALLDIR?= ${_INSTDIR} -NO_STAGE= yes pre-fetch: .if ${INSTALLDIR} == ${_INSTDIR} @${ECHO_MSG} "" @@ -35,14 +34,10 @@ post-patch: -e 's|%%INSTALLDIR%%|${INSTALLDIR}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} do-install: - @${MKDIR} ${PREFIX}/${INSTALLDIR} - @${CP} -Rp ${WRKSRC}/* ${PREFIX}/${INSTALLDIR} - @${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php - @${ECHO_CMD} "" - -post-install: -.if !defined(BATCH) - @${CAT} ${PKGMESSAGE} -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLDIR} + @${CP} -Rp ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${INSTALLDIR} + @${CHMOD} 666 ${STAGEDIR}${PREFIX}/${INSTALLDIR}/config.php + @${MV} ${STAGEDIR}${PREFIX}/${INSTALLDIR}/config.php \ + ${STAGEDIR}${PREFIX}/${INSTALLDIR}/config.php.sample .include <bsd.port.mk> diff --git a/www/usermanager/pkg-plist b/www/usermanager/pkg-plist index 753f466281b8..523cebb93ef9 100644 --- a/www/usermanager/pkg-plist +++ b/www/usermanager/pkg-plist @@ -1,5 +1,5 @@ %%INSTALLDIR%%/CHANGELOG -%%INSTALLDIR%%/config.php +@sample %%INSTALLDIR%%/config.php.sample %%INSTALLDIR%%/index.php %%INSTALLDIR%%/install.php %%INSTALLDIR%%/readme.txt |