diff options
author | naddy <naddy@FreeBSD.org> | 2003-02-14 21:39:42 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-02-14 21:39:42 +0800 |
commit | 4aaf0625c76718be4cdeffffa3c93be881e1c011 (patch) | |
tree | 9976579fe1f97527ecc66c91b96b5e1c7b7d567e /net | |
parent | 3f6c72490d249351034e5a4bec256158697ce512 (diff) | |
download | freebsd-ports-gnome-4aaf0625c76718be4cdeffffa3c93be881e1c011.tar.gz freebsd-ports-gnome-4aaf0625c76718be4cdeffffa3c93be881e1c011.tar.zst freebsd-ports-gnome-4aaf0625c76718be4cdeffffa3c93be881e1c011.zip |
* Use MASTER_SITE_DEBIAN.
* Use native getopt_long() if available.
* Convert COMMENT.
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/netmask/Makefile | 20 | ||||
-rw-r--r-- | net/netmask/pkg-comment | 1 |
2 files changed, 13 insertions, 8 deletions
diff --git a/net/netmask/Makefile b/net/netmask/Makefile index 1b21c29cb1e9..928a39217f46 100644 --- a/net/netmask/Makefile +++ b/net/netmask/Makefile @@ -5,21 +5,27 @@ PORTNAME= netmask PORTVERSION= 2.3.3 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://ftp.debian.org/debian/dists/potato/main/source/net/ +MASTER_SITES= ${MASTER_SITE_DEBIAN} +MASTER_SITE_SUBDIR= dists/potato/main/source/net DISTNAME= netmask_${PORTVERSION} MAINTAINER= mike@urgle.com - -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +COMMENT= Tool for generating terse netmasks in several common formats WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} USE_AUTOMAKE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" - USE_GMAKE= yes MAN1= netmask.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500041 +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +.endif + +.include <bsd.port.post.mk> diff --git a/net/netmask/pkg-comment b/net/netmask/pkg-comment deleted file mode 100644 index abf8d5a8043c..000000000000 --- a/net/netmask/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Tool for generating terse netmasks in several common formats. |