aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtptrapd
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:30:25 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:30:25 +0800
commit423d125b59ce69739694c4c0c7e11da018ca6d2f (patch)
tree9389524eb3eaed68b2ab191d806a4714b9c2a152 /mail/smtptrapd
parent9cba4a9d1347cf88e4b6f867fe3172c262bc8db0 (diff)
downloadfreebsd-ports-gnome-423d125b59ce69739694c4c0c7e11da018ca6d2f.tar.gz
freebsd-ports-gnome-423d125b59ce69739694c4c0c7e11da018ca6d2f.tar.zst
freebsd-ports-gnome-423d125b59ce69739694c4c0c7e11da018ca6d2f.zip
- Support staging
- Verbosify build and installation
Diffstat (limited to 'mail/smtptrapd')
-rw-r--r--mail/smtptrapd/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/smtptrapd/Makefile b/mail/smtptrapd/Makefile
index 57628722a8d6..0aba2e3c0ff7 100644
--- a/mail/smtptrapd/Makefile
+++ b/mail/smtptrapd/Makefile
@@ -9,18 +9,14 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 2821 compliant SMTP service that always returns a 4xx soft error
-CFLAGS+= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
-
USE_RC_SUBR= smtptrapd
PLIST_FILES= bin/smtptrapd
-NO_STAGE= yes
do-build:
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -o smtptrapd smtptrapd.c
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -o smtptrapd smtptrapd.c
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${PREFIX}/bin/
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>