diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-18 16:41:19 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-18 16:41:19 +0000 |
commit | 7b46a49633afec24c1083e469d2ad93dca3d38c2 (patch) | |
tree | de0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /www/b2evolution | |
parent | 1aa2c6a6b7f64ec2221a9944d9602a35c66600ca (diff) | |
download | ports-7b46a49633afec24c1083e469d2ad93dca3d38c2.tar.gz ports-7b46a49633afec24c1083e469d2ad93dca3d38c2.zip |
Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=418715
Diffstat (limited to 'www/b2evolution')
-rw-r--r-- | www/b2evolution/Makefile | 8 | ||||
-rw-r--r-- | www/b2evolution/files/pkg-message.in (renamed from www/b2evolution/pkg-message) | 0 |
2 files changed, 3 insertions, 5 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile index 344ccd5b0275..84c0c3f5aa83 100644 --- a/www/b2evolution/Makefile +++ b/www/b2evolution/Makefile @@ -30,6 +30,9 @@ WARNING= ${PKGDIR}/pkg-warning OPTIONS_DEFINE= MYSQL OPTIONS_DEFAULT= MYSQL +SUB_FILES= pkg-message +SUB_LIST+= B2EVO_DIR=${B2EVO_DIR} B2EVO_URL=${B2EVO_URL} + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -54,9 +57,4 @@ do-install: @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR} @${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php -post-install: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ - -e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \ - ${PKGMESSAGE} - .include <bsd.port.mk> diff --git a/www/b2evolution/pkg-message b/www/b2evolution/files/pkg-message.in index 5d60ce340c84..5d60ce340c84 100644 --- a/www/b2evolution/pkg-message +++ b/www/b2evolution/files/pkg-message.in |