aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-10-07 23:47:18 +0800
committerfeld <feld@FreeBSD.org>2014-10-07 23:47:18 +0800
commit445e4838c8d5f11b319aa343c35650966b01793d (patch)
tree02740a25bb09a9a017f02ce472b650d856f2e25b /irc
parent5ef80afe327ad24671c99d836391f0362a3be737 (diff)
downloadfreebsd-ports-gnome-445e4838c8d5f11b319aa343c35650966b01793d.tar.gz
freebsd-ports-gnome-445e4838c8d5f11b319aa343c35650966b01793d.tar.zst
freebsd-ports-gnome-445e4838c8d5f11b319aa343c35650966b01793d.zip
Add CPE capability
Remove unnecessary @dirrm
Diffstat (limited to 'irc')
-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