aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-16 02:38:30 +0800
committerlioux <lioux@FreeBSD.org>2003-06-16 02:38:30 +0800
commit1bff02b9e81e966de75066d00734cd884eeca1ad (patch)
treeea06903da4bdb9fcca9dd710e31f873c369f22de
parentd61af3b03b0ed49dcd7ebb4dcf0cbcf3d90db9cb (diff)
downloadfreebsd-ports-gnome-1bff02b9e81e966de75066d00734cd884eeca1ad.tar.gz
freebsd-ports-gnome-1bff02b9e81e966de75066d00734cd884eeca1ad.tar.zst
freebsd-ports-gnome-1bff02b9e81e966de75066d00734cd884eeca1ad.zip
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>
-rw-r--r--ftp/twoftpd/Makefile16
-rw-r--r--ftp/twoftpd/pkg-plist2
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