1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

o Update to reflect recent change in location of header files

installed by devel/bglibs port
o No functional changes

PR:		52909
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-06-15 18:38:30 +00:00
parent 3d27854760
commit 3a18feadf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83031
2 changed files with 10 additions and 8 deletions

View File

@ -13,8 +13,7 @@ MASTER_SITES= http://untroubled.org/twoftpd/
MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= A simple, secure, efficient FTP server
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-str.a:${PORTSDIR}/devel/bglibs
RUN_DEPENDS= ${BUILD_DEPENDS}
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
USE_REINPLACE= yes
@ -23,14 +22,17 @@ MAN1= twoftpd-auth.1 twoftpd-xfer.1
BIN= twoftpd-anon twoftpd-anon-conf twoftpd-auth \
twoftpd-bind-port twoftpd-conf twoftpd-xfer
post-patch:
${REINPLACE_CMD} -e 's,/usr/local/bglibs/,${LOCALBASE}/,' \
${WRKSRC}/conf-bgincs ${WRKSRC}/conf-bglibs
${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' ${WRKSRC}/conf-bin
do-configure:
${ECHO_CMD} "${LOCALBASE}/include/bglibs" \
> ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
${ECHO_CMD} "${PREFIX}/sbin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
do-install:
.for FILE in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1
.endfor
.for FILE in ${BIN}
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/sbin

View File

@ -1,4 +1,4 @@
sbin/twoftpd-anon
sbin/twoftpd-anon
sbin/twoftpd-anon-conf
sbin/twoftpd-auth
sbin/twoftpd-bind-port