mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Verbosify build and installation
This commit is contained in:
parent
59b098fcb3
commit
67ac96db70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353538
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user