diff options
author | delphij <delphij@FreeBSD.org> | 2012-09-03 15:59:57 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-09-03 15:59:57 +0800 |
commit | f47a40987bd4f6e7638a9ccbd02eab36287af3aa (patch) | |
tree | 2e421c6c10c48cb73d3cdd58936c1a2609809808 /www/dokuwiki | |
parent | 10fbcd0ce10ec5e21c77010fd1c09e0af347bcc4 (diff) | |
download | freebsd-ports-gnome-f47a40987bd4f6e7638a9ccbd02eab36287af3aa.tar.gz freebsd-ports-gnome-f47a40987bd4f6e7638a9ccbd02eab36287af3aa.tar.zst freebsd-ports-gnome-f47a40987bd4f6e7638a9ccbd02eab36287af3aa.zip |
- Fix substitusion of pkg-message
PR: ports/171274
Submitted by: Yasuhiro KIMURA <yasu utahime.org>
Diffstat (limited to 'www/dokuwiki')
-rw-r--r-- | www/dokuwiki/Makefile | 7 | ||||
-rw-r--r-- | www/dokuwiki/files/pkg-message.in (renamed from www/dokuwiki/pkg-message) | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/www/dokuwiki/Makefile b/www/dokuwiki/Makefile index 2705d216dc68..fc4381c5b3cc 100644 --- a/www/dokuwiki/Makefile +++ b/www/dokuwiki/Makefile @@ -7,7 +7,7 @@ PORTNAME= dokuwiki PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://www.splitbrain.org/_media/projects/dokuwiki/ \ LOCAL/chinsan/${PORTNAME} @@ -26,6 +26,8 @@ DOKUWIKI_DIR?= www/${PORTNAME} WRKSRC= ${WRKDIR}/${DIST_VER} PLIST_SUB= DOKUWIKI_DIR=${DOKUWIKI_DIR} TEMP_PLIST= ${WRKDIR}/temp-pkg-plist +SUB_FILES= pkg-message +SUB_LIST+= PORTNAME=${PORTNAME} DOKUWIKI_DIR=${DOKUWIKI_DIR} REINPLACE_ARGS= -i '' @@ -51,7 +53,6 @@ do-install: @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKI_DIR} post-install: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \ - -e 's|%%DOKUWIKI_DIR%%|${DOKUWIKI_DIR}|' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/www/dokuwiki/pkg-message b/www/dokuwiki/files/pkg-message.in index 16152a4c2716..50f35fab7955 100644 --- a/www/dokuwiki/pkg-message +++ b/www/dokuwiki/files/pkg-message.in @@ -12,4 +12,4 @@ For FULL configuration instructions see http://wiki.splitbrain.org/wiki:config -================================================================= +=================================================================
\ No newline at end of file |