diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-15 18:38:30 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-15 18:38:30 +0000 |
commit | 3a18feadf1242c1fec9f9ab2d44c528dab8fb512 (patch) | |
tree | 387b00cfca93628a8f4ddd1e21bfbe39a41209e6 /ftp/twoftpd | |
parent | Update to reflect recent change in location of header files installed (diff) |
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>
Notes
Notes:
svn path=/head/; revision=83031
Diffstat (limited to 'ftp/twoftpd')
-rw-r--r-- | ftp/twoftpd/Makefile | 16 | ||||
-rw-r--r-- | ftp/twoftpd/pkg-plist | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile index ab5d3e07c4b3..e4c4b8750b73 100644 --- a/ftp/twoftpd/Makefile +++ b/ftp/twoftpd/Makefile @@ -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 diff --git a/ftp/twoftpd/pkg-plist b/ftp/twoftpd/pkg-plist index bbd17907cfb3..e7a34bddfb8f 100644 --- a/ftp/twoftpd/pkg-plist +++ b/ftp/twoftpd/pkg-plist @@ -1,4 +1,4 @@ -sbin/twoftpd-anon +sbin/twoftpd-anon sbin/twoftpd-anon-conf sbin/twoftpd-auth sbin/twoftpd-bind-port |