Skip to content

Commit

Permalink
- Add stage support
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloegea committed Feb 8, 2014
1 parent 597846a commit 56ee86b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ftp/pftpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ COMMENT= Multithreaded anonymous FTP daemon
GNU_CONFIGURE= 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:
@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'

do-install:
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${PREFIX}/sbin)
(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1)
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${STAGEDIR}${PREFIX}/sbin)
(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1)
@${CAT} ${WRKSRC}/ISSUES

.include <bsd.port.mk>

0 comments on commit 56ee86b

Please sign in to comment.