diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2008-12-25 15:27:02 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2008-12-25 15:27:02 +0000 |
commit | e8da354a455995fb1a2749b0fc3305d107f88ed6 (patch) | |
tree | dcb964bd3d30be01599590c7eba3628c1664b8ee /mail/milter-greylist-devel/Makefile | |
parent | Previous commit should have actually changed the maintainer (diff) |
- Take maintainership
- rename [files/milter-greylist.sh -> files/milter-greylist.in, pkg-message -> files/pkg-message.in]
- Bump PORTREVISION
- drop 5.x support
- use SUB_FILES for pkg-message processing
- make use of @dirrmtry in pkg-plist
PR: ports/125657
Approved by: araujo (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=224747
Diffstat (limited to 'mail/milter-greylist-devel/Makefile')
-rw-r--r-- | mail/milter-greylist-devel/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/mail/milter-greylist-devel/Makefile b/mail/milter-greylist-devel/Makefile index 4dd8582b5529..564424f475fb 100644 --- a/mail/milter-greylist-devel/Makefile +++ b/mail/milter-greylist-devel/Makefile @@ -7,12 +7,13 @@ PORTNAME= milter-greylist-devel DISTVERSION= 2.0b1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ DISTNAME= milter-greylist-${DISTVERSION} EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= pgollucci@p6m7g8.com COMMENT= Easy-to-use greylist milter for sendmail (development) MAN5= greylist.conf.5 @@ -27,15 +28,11 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LIBS}" ALL_TARGET= milter-greylist -USE_RC_SUBR= yes -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +USE_RC_SUBR= milter-greylist +SUB_FILES+= pkg-message CONFLICTS= milter-greylist-[1-9]*.* -post-extract: - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/milter-greylist.sh > ${WRKSRC}/milter-greylist.sh - do-install: @${MKDIR} ${PREFIX}/etc/mail @${INSTALL_PROGRAM} ${WRKSRC}/milter-greylist ${PREFIX}/bin @@ -43,18 +40,18 @@ do-install: @${INSTALL_MAN} ${WRKSRC}/milter-greylist.8 ${PREFIX}/man/man8 @${INSTALL_DATA} ${WRKSRC}/greylist.conf \ ${PREFIX}/etc/mail/greylist.conf.sample - @${INSTALL_SCRIPT} ${WRKSRC}/milter-greylist.sh ${PREFIX}/etc/rc.d/ post-install: @${MKDIR} /var/milter-greylist @${CHOWN} smmsp /var/milter-greylist .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif +.if !defined (NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/greylist.conf ${EXAMPLESDIR} .endif - @${TEST} -f /var/db/milter-greylist/greylist.db && ( \ ${ECHO} "***********************************************************"; \ ${ECHO} "***********************************************************"; \ @@ -68,7 +65,6 @@ post-install: ${ECHO} "***********************************************************"; \ ${ECHO} "***********************************************************"; \ ) || ${TRUE} - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |