aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-02-22 01:16:50 +0800
committermat <mat@FreeBSD.org>2005-02-22 01:16:50 +0800
commit3806ba2d37b3482acb70b69539002b980e5046b9 (patch)
tree547af198a7684342192b78daa44dc9164781e9a1 /mail
parent1df771e09b031c8f061bdaab8a7067e25ae796a5 (diff)
downloadfreebsd-ports-gnome-3806ba2d37b3482acb70b69539002b980e5046b9.tar.gz
freebsd-ports-gnome-3806ba2d37b3482acb70b69539002b980e5046b9.tar.zst
freebsd-ports-gnome-3806ba2d37b3482acb70b69539002b980e5046b9.zip
Don't mix SUB_LIST and PLIST_SUB, it's a bad idea [1] :-)
+ minor fix in the Makefile Pointed out by: [1] kris via pointyhat
Diffstat (limited to 'mail')
-rw-r--r--mail/sqlgrey/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/sqlgrey/Makefile b/mail/sqlgrey/Makefile
index 4b281262cf0b..4258498cffa7 100644
--- a/mail/sqlgrey/Makefile
+++ b/mail/sqlgrey/Makefile
@@ -38,8 +38,9 @@ SGY_GROUPNAME?= ${SGY_USERNAME}
ETCDIR?= etc/sqlgrey
SUB_FILES= pkg-install
-SUB_LIST= ETCDIR=${ETCDIR} ETCFILES="${ETCFILES}" USER=${SGY_USERNAME} GROUP=${SGY_GROUPNAME}
-PLIST_SUB= ${SUB_LIST} TOUCH=${TOUCH}
+MY_SUB_LIST= ETCDIR=${ETCDIR} ETCFILES="${ETCFILES}" USER=${SGY_USERNAME} GROUP=${SGY_GROUPNAME}
+SUB_LIST= ${MY_SUB_LIST}
+PLIST_SUB= TOUCH=${TOUCH} ${MY_SUB_LIST}
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${PKGINSTALL}
@@ -67,12 +68,12 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/${ETCDIR}/${i}.dist
@[ "${i}" = "sqlgrey.conf" ] || ${TOUCH} ${PREFIX}/${ETCDIR}/${i}.local
@[ -f ${PREFIX}/${ETCDIR}/${i} ] || ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/${ETCDIR}/${i}
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.endfor
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL