summaryrefslogtreecommitdiff
path: root/ftp/twoftpd
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-24 13:57:06 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-24 13:57:06 +0000
commit8cda227f0c8e4a65b3622ea6ef9da690ccc4dacb (patch)
tree7f76333785c5f0a030ed2de9dca883e89c007730 /ftp/twoftpd
parentAdd cvm 0.18, Credential Validation Modules: (diff)
- Unbreak build by depending on newly-added security/cvm port
- Cosmetic fixes for consistency with other untroubled.org ports
Notes
Notes: svn path=/head/; revision=96530
Diffstat (limited to 'ftp/twoftpd')
-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