aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:43:53 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-31 11:43:53 +0800
commita1a1086f905f9502ffe1b2d74625067f42f69f46 (patch)
treedc384f2dbcda355a7c6f18c9a0e0117bb3b57313 /mail
parent0c5d130ac86d2468043d16e3b901b29fff341bda (diff)
downloadfreebsd-ports-gnome-a1a1086f905f9502ffe1b2d74625067f42f69f46.tar.gz
freebsd-ports-gnome-a1a1086f905f9502ffe1b2d74625067f42f69f46.tar.zst
freebsd-ports-gnome-a1a1086f905f9502ffe1b2d74625067f42f69f46.zip
- use $SUB_FILES to adjust pkg-message dynamically
PR: ports/142730 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (kiwi@oav.net; > 2 weeks)
Diffstat (limited to 'mail')
-rw-r--r--mail/couriergraph/Makefile4
-rw-r--r--mail/couriergraph/files/pkg-message.in (renamed from mail/couriergraph/pkg-message)0
2 files changed, 1 insertions, 3 deletions
diff --git a/mail/couriergraph/Makefile b/mail/couriergraph/Makefile
index be8821412dbc..4a7a0426ee2f 100644
--- a/mail/couriergraph/Makefile
+++ b/mail/couriergraph/Makefile
@@ -31,8 +31,7 @@ SUB_LIST+= COURIERGRAPH_USER=${COURIERGRAPH_USER} COURIERGRAPH_GROUP=${COURIERGR
STARTUP_FILE= ${PREFIX}/etc/rc.d/couriergraph.sh
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKSRC}/pkg-message
+SUB_FILES= pkg-message
pre-everything::
@${ECHO_MSG}
@@ -46,7 +45,6 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.cgi
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/couriergraph.pl
- @${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
do-install:
${MKDIR} ${PREFIX}/www/cgi-bin
diff --git a/mail/couriergraph/pkg-message b/mail/couriergraph/files/pkg-message.in
index a1db11731f14..a1db11731f14 100644
--- a/mail/couriergraph/pkg-message
+++ b/mail/couriergraph/files/pkg-message.in