- Add stage support

This commit is contained in:
Danilo Egea Gondolfo 2014-02-08 14:23:50 +00:00
parent f8481c2f40
commit b073b822c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343336

View file

@ -12,17 +12,17 @@ COMMENT= Multithreaded anonymous FTP daemon
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
MAN1= pftpd.1 rpad.1 PLIST_FILES= sbin/pftpd \
PLIST_FILES= sbin/pftpd man/man1/pftpd.1.gz \
man/man1/rpad.1.gz
NO_STAGE= yes
post-patch: post-patch:
@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \ @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g' 's|-lpthread|${PTHREAD_LIBS}|g'
do-install: do-install:
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${PREFIX}/sbin) (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${STAGEDIR}${PREFIX}/sbin)
(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1) (cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1)
@${CAT} ${WRKSRC}/ISSUES @${CAT} ${WRKSRC}/ISSUES
.include <bsd.port.mk> .include <bsd.port.mk>