aboutsummaryrefslogtreecommitdiff
path: root/mail/spamguard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamguard/Makefile')
-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>