diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-17 05:09:33 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-17 05:09:33 +0800 |
commit | 0b72814b22621d375d8dede1b14c87197be50a8b (patch) | |
tree | c47d781f4e3be538ec288c183b89a5ff3d6e1704 /irc/ircd-ratbox-devel | |
parent | 6dafdd63127ac5a4feab8a4cecff18bba6d5997b (diff) | |
download | freebsd-ports-gnome-0b72814b22621d375d8dede1b14c87197be50a8b.tar.gz freebsd-ports-gnome-0b72814b22621d375d8dede1b14c87197be50a8b.tar.zst freebsd-ports-gnome-0b72814b22621d375d8dede1b14c87197be50a8b.zip |
Fix build / deinstall with custom LOCALBASE and PREFIX
Submitted by: maintainer
Reported by: QATty
Diffstat (limited to 'irc/ircd-ratbox-devel')
-rw-r--r-- | irc/ircd-ratbox-devel/Makefile | 2 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/pkg-plist | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/irc/ircd-ratbox-devel/Makefile b/irc/ircd-ratbox-devel/Makefile index 6b990469eb65..a4a9cc55f5a4 100644 --- a/irc/ircd-ratbox-devel/Makefile +++ b/irc/ircd-ratbox-devel/Makefile @@ -8,6 +8,7 @@ PORTNAME= ircd-ratbox PORTVERSION= 3.0.4 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ \ ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/testing/ \ @@ -42,6 +43,7 @@ CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/${PORTNAME} \ --libexecdir=${PREFIX}/libexec \ --with-helpdir=${DATADIR}/help \ --libdir=${PREFIX}/lib/${PORTNAME} \ + --with-sqlite3=${LOCALBASE} \ --disable-backups PORTDOCS= [^i]*.txt README.* technical/[^i]*.txt Tao-of-IRC.* diff --git a/irc/ircd-ratbox-devel/pkg-plist b/irc/ircd-ratbox-devel/pkg-plist index 08ec14d33898..73466760719f 100644 --- a/irc/ircd-ratbox-devel/pkg-plist +++ b/irc/ircd-ratbox-devel/pkg-plist @@ -239,12 +239,12 @@ lib/ircd-ratbox/modules/m_squit.so @dirrm %%DATADIR%% etc/ircd-ratbox/genssl.sh etc/ircd-ratbox/ircd-efnet.conf.sample -@unexec if cmp -s %D/etc/ircd-ratbox/ircd.conf.sample %D/etc/ircd-ratbox/ircd.conf; then rm -f %D/etc/ircd-ratbox/ircd.conf; fi +@unexec if cmp -s "%D/etc/ircd-ratbox/ircd.conf.sample" "%D/etc/ircd-ratbox/ircd.conf"; then rm -f "%D/etc/ircd-ratbox/ircd.conf"; fi etc/ircd-ratbox/ircd.conf.sample -@exec if [ ! -f %D/etc/ircd-ratbox/ircd.conf ] ; then cp -p %D/%F %B/ircd.conf; fi -@unexec if cmp -s %D/etc/ircd-ratbox/ircd.motd.sample %D/etc/ircd-ratbox/ircd.motd; then rm -f %D/etc/ircd-ratbox/ircd.motd; fi +@exec if [ ! -f "%D/etc/ircd-ratbox/ircd.conf" ] ; then cp -p "%D/%F" "%B/ircd.conf"; fi +@unexec if cmp -s "%D/etc/ircd-ratbox/ircd.motd.sample" "%D/etc/ircd-ratbox/ircd.motd"; then rm -f "%D/etc/ircd-ratbox/ircd.motd"; fi etc/ircd-ratbox/ircd.motd.sample -@exec if [ ! -f %D/etc/ircd-ratbox/ircd.motd ] ; then cp -p %D/%F %B/ircd.motd; fi +@exec if [ ! -f "%D/etc/ircd-ratbox/ircd.motd" ] ; then cp -p "%D/%F %B/ircd.motd"; fi @dirrmtry etc/ircd-ratbox @cwd / @dirrmtry %%LOGDIR%% |