aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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