diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 02:44:15 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 02:44:15 +0800 |
commit | 3b2940d55f691144a7bab798debdc7de02f56cab (patch) | |
tree | 857d70285b32c51a82b91d3b1fa9cd5199858a3e /net/ncp | |
parent | 56fdcf3a30e84296a5b193835bf499bae60ed004 (diff) | |
download | freebsd-ports-gnome-3b2940d55f691144a7bab798debdc7de02f56cab.tar.gz freebsd-ports-gnome-3b2940d55f691144a7bab798debdc7de02f56cab.tar.zst freebsd-ports-gnome-3b2940d55f691144a7bab798debdc7de02f56cab.zip |
- update to 1.2.4
- fix fetch
- nuke pkg-plist
- fix build on 4.x
- cleanup
PR: 87835
Submitted by: Matthias Teege <matthias@mteege.de> (maintainer)
Diffstat (limited to 'net/ncp')
-rw-r--r-- | net/ncp/Makefile | 30 | ||||
-rw-r--r-- | net/ncp/distinfo | 4 | ||||
-rw-r--r-- | net/ncp/pkg-plist | 3 |
3 files changed, 22 insertions, 15 deletions
diff --git a/net/ncp/Makefile b/net/ncp/Makefile index 905841b6ae84..f1d092ef7592 100644 --- a/net/ncp/Makefile +++ b/net/ncp/Makefile @@ -5,25 +5,35 @@ # $FreeBSD$ PORTNAME= ncp -PORTVERSION= 1.2.3 +PORTVERSION= 1.2.4 CATEGORIES= net -MASTER_SITES= ftp://ftp.fu-berlin.de/unix/network/ncp/ +MASTER_SITES= http://dl.fefe.de/ http://dl.mteege.de/fefe/ MAINTAINER= matthias@mteege.de -COMMENT= "A fast file copy tool for LANs." +COMMENT= A fast file copy tool for LANs -MAN1= ncp.1 npush.1 -MANCOMPRESSED= no +BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat -WRKSRC= ${WRKDIR}/${PORTNAME} USE_BZIP2= yes USE_REINPLACE= yes +USE_GETOPT_LONG=yes +MANCOMPRESSED= no + +MAN1= ncp.1 npush.1 +PLIST_FILES= bin/ncp bin/npush bin/npoll + +CFLAGS+= -I${LOCALBASE}/include/libowfat -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-patch: - @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|' \ - ${WRKSRC}/conf-cc - @${REINPLACE_CMD} -e 's|gcc|${CC} ${LDFLAGS}|' \ - ${WRKSRC}/conf-ld + @${REINPLACE_CMD} -e 's|^CC=gcc|CC=${CC}|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|^CFLAGS=.*|CFLAGS=${CFLAGS}|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|^LDFLAGS=.*|LDFLAGS=${LDFLAGS}|' \ + ${WRKSRC}/Makefile do-install: cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin diff --git a/net/ncp/distinfo b/net/ncp/distinfo index 6ad6a384e8d6..4482885fa900 100644 --- a/net/ncp/distinfo +++ b/net/ncp/distinfo @@ -1,2 +1,2 @@ -MD5 (ncp-1.2.3.tar.bz2) = 4486819b63f2493d788f4a516d660b74 -SIZE (ncp-1.2.3.tar.bz2) = 30864 +MD5 (ncp-1.2.4.tar.bz2) = 421c4855bd3148b7d0a4342942b4bf13 +SIZE (ncp-1.2.4.tar.bz2) = 6172 diff --git a/net/ncp/pkg-plist b/net/ncp/pkg-plist deleted file mode 100644 index f8f86c567c97..000000000000 --- a/net/ncp/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/ncp -bin/npush -bin/npoll |