aboutsummaryrefslogtreecommitdiff
path: root/mail/spamguard
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-13 15:20:03 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-13 15:20:03 +0000
commit3ffb96342bf5369e8aed191698e6c316d9ac288d (patch)
treea8d3dad2765d188029cd0fd3238c1fe38f867b18 /mail/spamguard
parent34d580b0c347155ab1e10517522e2676aab4cdc5 (diff)
downloadports-3ffb96342bf5369e8aed191698e6c316d9ac288d.tar.gz
ports-3ffb96342bf5369e8aed191698e6c316d9ac288d.zip
- Add LICENSE
- Convert to new options framework - Support STAGEDIR - While I'm here, simplify Makefile PR: ports/189663 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=353963
Diffstat (limited to 'mail/spamguard')
-rw-r--r--mail/spamguard/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/mail/spamguard/Makefile b/mail/spamguard/Makefile
index 617ed525f5ee..c6c83c93fe7d 100644
--- a/mail/spamguard/Makefile
+++ b/mail/spamguard/Makefile
@@ -9,12 +9,15 @@ MASTER_SITES= http://www.enderunix.org/spamguard/
MAINTAINER= 5u623l20@gmail.com
COMMENT= MTA spam prevention program for qmail/postfix/sendmail
-BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
+LICENSE= BSD3CLAUSE
+
+USE_AUTOTOOLS= automake
-PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
DOCS= AUTHORS CHANGELOG COPYING INSTALL \
POST-INSTALL README THANKS README.DigitalUnix \
THANKS TODO UPGRADE
@@ -23,17 +26,12 @@ DOCS_TR= BENIOKU BENIOKU.DigitalUnix COPYING DEGISIKLIKLER \
SUB_FILES= pkg-message
-NO_STAGE= yes
pre-configure:
- cd ${WRKSRC}; \
- ./autogen.sh
+ cd ${WRKSRC}; ./autogen.sh
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/tr
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
- cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${DOCSDIR}/tr
-.endif
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/tr
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${STAGEDIR}${DOCSDIR}/tr
.include <bsd.port.mk>