aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtptrapd/Makefile
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2005-05-18 00:35:32 +0800
committeranders <anders@FreeBSD.org>2005-05-18 00:35:32 +0800
commit3e5f1b23e11939717542dec19e71a2528d400245 (patch)
tree211e638f36e75b25a96a318eaec6c87880134e91 /mail/smtptrapd/Makefile
parent06432ab0735a8707ba8ade489cb7bab485743f79 (diff)
downloadfreebsd-ports-gnome-3e5f1b23e11939717542dec19e71a2528d400245.tar.gz
freebsd-ports-gnome-3e5f1b23e11939717542dec19e71a2528d400245.tar.zst
freebsd-ports-gnome-3e5f1b23e11939717542dec19e71a2528d400245.zip
Update to 1.2.
Unbreak & fix plist.
Diffstat (limited to 'mail/smtptrapd/Makefile')
-rw-r--r--mail/smtptrapd/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/smtptrapd/Makefile b/mail/smtptrapd/Makefile
index c8b658ba7468..269e0ab0173b 100644
--- a/mail/smtptrapd/Makefile
+++ b/mail/smtptrapd/Makefile
@@ -6,17 +6,14 @@
#
PORTNAME= smtptrapd
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= mail
MASTER_SITES= http://smtptrapd.inodes.org/
MAINTAINER= anders@FreeBSD.org
COMMENT= RFC 2821 compliant SMTP service that always returns a 4xx soft error
-BROKEN= Incomplete pkg-plist
-
-USE_RC_SUBR= yes
-SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g;s|%%RC_SUBR%%|${RC_SUBR}|g'
+USE_RC_SUBR= smtptrapd.sh
PLIST_FILES= bin/smtptrapd
@@ -32,11 +29,9 @@ CFLAGS+= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o smtptrapd smtptrapd.c)
- ${SED} ${SED_SCRIPT} ${FILESDIR}/smtptrapd.sh >${WRKSRC}/smtptrapd.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/smtptrapd.sh ${PREFIX}/etc/rc.d/smtptrapd.sh
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>