diff options
Diffstat (limited to 'ftp/twoftpd')
-rw-r--r-- | ftp/twoftpd/Makefile | 17 | ||||
-rw-r--r-- | ftp/twoftpd/pkg-plist | 1 |
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 |