diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-31 03:44:21 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-31 03:44:21 +0000 |
commit | 6ea5d2cfbbc9fd59572e7e40b88efab320183efe (patch) | |
tree | 5d6fe6fb57f7db7d6db430eaeac9deb1c1f6bbc2 /mail/phpmailer | |
parent | b96e653af860e2dcb77b8247fbafd9c91f1547e0 (diff) |
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142796
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: maintainer timeout (bg1tpt@gmail.com; > 2 weeks)
Notes
Notes:
svn path=/head/; revision=248924
Diffstat (limited to 'mail/phpmailer')
-rw-r--r-- | mail/phpmailer/Makefile | 7 | ||||
-rw-r--r-- | mail/phpmailer/files/pkg-message.in (renamed from mail/phpmailer/files/pkg-message) | 0 | ||||
-rw-r--r-- | mail/phpmailer/pkg-plist | 6 |
3 files changed, 4 insertions, 9 deletions
diff --git a/mail/phpmailer/Makefile b/mail/phpmailer/Makefile index 5c2c93f24358..348ced3df96f 100644 --- a/mail/phpmailer/Makefile +++ b/mail/phpmailer/Makefile @@ -21,10 +21,7 @@ NO_BUILD= yes IGNORE_WITH_PHP= 4 USE_PHP= pcre -PKGMESSAGE= ${WRKDIR}/pkg-message -MSG_SRC= ${FILESDIR}/pkg-message - -MSG_SUB= DATADIR=${DATADIR} LOCALBASE=${LOCALBASE} +SUB_FILES= pkg-message do-install: @${MKDIR} ${DATADIR} @@ -48,8 +45,6 @@ do-install: .endif post-install: - @${SED} ${MSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${MSG_SRC} > \ - ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/mail/phpmailer/files/pkg-message b/mail/phpmailer/files/pkg-message.in index b9d8ebd9a029..b9d8ebd9a029 100644 --- a/mail/phpmailer/files/pkg-message +++ b/mail/phpmailer/files/pkg-message.in diff --git a/mail/phpmailer/pkg-plist b/mail/phpmailer/pkg-plist index 9f3cdc6a4853..2322b2850538 100644 --- a/mail/phpmailer/pkg-plist +++ b/mail/phpmailer/pkg-plist @@ -61,6 +61,6 @@ @dirrm %%DATADIR%%/test @dirrm %%DATADIR%%/language @dirrm %%DATADIR%% -%%PORTEXAMPLES%%@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images -%%PORTEXAMPLES%%@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |