aboutsummaryrefslogtreecommitdiff
path: root/ftp/twoftpd/Makefile
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-08-29 12:20:05 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-08-29 12:20:05 +0000
commitf8b5a47bab776c6f47527f8ae52bf6cbbf841a12 (patch)
tree5ce704285a751ce8cb53e16e5e6272c2778a8164 /ftp/twoftpd/Makefile
parent7e83e01af27e610ab512891a2b7428df2d6a48a7 (diff)
downloadports-f8b5a47bab776c6f47527f8ae52bf6cbbf841a12.tar.gz
ports-f8b5a47bab776c6f47527f8ae52bf6cbbf841a12.zip
Notes
Diffstat (limited to 'ftp/twoftpd/Makefile')
-rw-r--r--ftp/twoftpd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile
index e5e5d50a3d4d..3e4fbf62c128 100644
--- a/ftp/twoftpd/Makefile
+++ b/ftp/twoftpd/Makefile
@@ -7,19 +7,22 @@
PORTNAME= twoftpd
PORTVERSION= 1.20
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= A simple, secure, efficient FTP server
-BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs \
+BUILD_DEPENDS= ${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs \
${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm
USE_REINPLACE= yes
CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS?= -s
+LDFLAGS+= -s -L${LOCALBASE}/lib
+BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
+BGLIBS_INCLUDE= ${LOCALBASE}/include/bglibs
DOCS= NEWS README TODO
MAN1= twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
@@ -32,8 +35,8 @@ do-configure:
${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} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
+ ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
do-install:
cd ${WRKSRC} && ./installer