aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-04-09 19:43:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-04-09 19:43:07 +0800
commit53f2837de19c24dd1474c01a901cc644270c7344 (patch)
treebfba0b7def73f1c93fa408e9f780299825f02c5d /irc
parent2fd0787eb343d76e9721c845d879840712b74500 (diff)
downloadfreebsd-ports-gnome-53f2837de19c24dd1474c01a901cc644270c7344.tar.gz
freebsd-ports-gnome-53f2837de19c24dd1474c01a901cc644270c7344.tar.zst
freebsd-ports-gnome-53f2837de19c24dd1474c01a901cc644270c7344.zip
- Simplify MASTER_SITES
- Add CPE info
Diffstat (limited to 'irc')
-rw-r--r--irc/ngircd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
index 5c994df619e8..7baa63dc6429 100644
--- a/irc/ngircd/Makefile
+++ b/irc/ngircd/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 22
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= irc ipv6
-MASTER_SITES= http://arthur.barton.de/pub/%SUBDIR%/ \
- http://ngircd.mirror.3rz.org/pub/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= http://arthur.barton.de/pub/${PORTNAME}/ \
+ http://ngircd.mirror.3rz.org/pub/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Free open source daemon for Internet Relay Chat (IRC)
@@ -16,11 +15,14 @@ COMMENT= Free open source daemon for Internet Relay Chat (IRC)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:xz
+USES= cpe tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules # --docdir=${WRKDIR}/tmproot
USE_RC_SUBR= ngircd
+CPE_VENDOR= barton
+CPE_VERSION= ${PORTVERSION:C/^([0-9]+)$/\1.0/}
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib