aboutsummaryrefslogtreecommitdiff
path: root/irc/inspircd
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-10-07 15:47:18 +0000
committerMark Felder <feld@FreeBSD.org>2014-10-07 15:47:18 +0000
commitd2d421aab674b75cb1ee2285e3afde097ef76d3c (patch)
tree02740a25bb09a9a017f02ce472b650d856f2e25b /irc/inspircd
parent52eae7611d0b238662c125abc39cd10ccf9eb0f0 (diff)
downloadports-d2d421aab674b75cb1ee2285e3afde097ef76d3c.tar.gz
ports-d2d421aab674b75cb1ee2285e3afde097ef76d3c.zip
Add CPE capability
Remove unnecessary @dirrm
Notes
Notes: svn path=/head/; revision=370349
Diffstat (limited to 'irc/inspircd')
-rw-r--r--irc/inspircd/Makefile5
-rw-r--r--irc/inspircd/pkg-plist8
2 files changed, 4 insertions, 9 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile
index 8fee87f5dee2..a065d1d37865 100644
--- a/irc/inspircd/Makefile
+++ b/irc/inspircd/Makefile
@@ -34,9 +34,12 @@ SUB_LIST+= PORTNAME=${PORTNAME} \
GROUPS=${GROUPS}
# Configure script is written in perl
-USES= perl5
+USES= cpe perl5
USE_PERL5= build
+CPE_VENDOR= inspire_ircd
+CPE_PRODUCT= inspircd
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${ETCDIR} \
--module-dir=${PREFIX}/lib/${PORTNAME}/modules \
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
index 55d18906ce29..e036116ac7a1 100644
--- a/irc/inspircd/pkg-plist
+++ b/irc/inspircd/pkg-plist
@@ -225,14 +225,6 @@ lib/inspircd/modules/m_userip.so
lib/inspircd/modules/m_vhost.so
lib/inspircd/modules/m_watch.so
lib/inspircd/modules/m_xline_db.so
-@dirrmtry etc/inspircd/examples/aliases
-@dirrmtry etc/inspircd/examples/modules
-@dirrmtry etc/inspircd/examples
-@dirrmtry etc/inspircd
-@dirrm lib/inspircd/modules
-@dirrmtry lib/inspircd/logs
-@dirrmtry lib/inspircd/data
-@dirrm lib/inspircd
@unexec if cmp -s %D/%%ETCDIR%%/examples/censor.conf.example %D/%%ETCDIR%%/censor.conf; then rm -f %D/%%ETCDIR%%/censor.conf; fi
@unexec if cmp -s %D/%%ETCDIR%%/examples/filter.conf.example %D/%%ETCDIR%%/filter.conf; then rm -f %D/%%ETCDIR%%/filter.conf; fi
@unexec if cmp -s %D/%%ETCDIR%%/examples/helpop-full.conf.example %D/%%ETCDIR%%/helpop-full.conf; then rm -f %D/%%ETCDIR%%/helpop-full.conf; fi