aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-24 21:57:06 +0800
committersergei <sergei@FreeBSD.org>2003-12-24 21:57:06 +0800
commit2813c1f6662024ab3a7ac7351b2f045c84042a5a (patch)
treeeee25efd1c91c9a55ec7fd32bc9c43d19fd75ec2 /ftp
parent4dc41278ccb3eb247d052ca096205167c4710a55 (diff)
downloadfreebsd-ports-gnome-2813c1f6662024ab3a7ac7351b2f045c84042a5a.tar.gz
freebsd-ports-gnome-2813c1f6662024ab3a7ac7351b2f045c84042a5a.tar.zst
freebsd-ports-gnome-2813c1f6662024ab3a7ac7351b2f045c84042a5a.zip
- Unbreak build by depending on newly-added security/cvm port
- Cosmetic fixes for consistency with other untroubled.org ports
Diffstat (limited to 'ftp')
-rw-r--r--ftp/twoftpd/Makefile17
-rw-r--r--ftp/twoftpd/pkg-plist1
2 files changed, 12 insertions, 6 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile
index 5fbfa4048d1f..8c474de0a569 100644
--- a/ftp/twoftpd/Makefile
+++ b/ftp/twoftpd/Makefile
@@ -9,22 +9,27 @@ PORTNAME= twoftpd
PORTVERSION= 1.17
PORTREVISION= 2
CATEGORIES= ftp
-MASTER_SITES= http://untroubled.org/twoftpd/
+MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= A simple, secure, efficient FTP server
-BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
+BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs \
+ ${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS?= -s
DOCS= NEWS README TODO
MAN1= twoftpd-auth.1 twoftpd-xfer.1
do-configure:
+ ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+ ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
- ${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
- ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
- ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
- ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
do-install:
cd ${WRKSRC} && ./installer
diff --git a/ftp/twoftpd/pkg-plist b/ftp/twoftpd/pkg-plist
index a60d9d4d441f..7a6f7337990a 100644
--- a/ftp/twoftpd/pkg-plist
+++ b/ftp/twoftpd/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/twoftpd-anon
bin/twoftpd-anon-conf
bin/twoftpd-auth