aboutsummaryrefslogtreecommitdiff
path: root/net/cactid
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-03-21 14:48:31 +0000
committerClement Laforet <clement@FreeBSD.org>2005-03-21 14:48:31 +0000
commit911e76f94c7978797ee933c716def044659ab53b (patch)
tree62260ed602bef76b6daac5a4fdbdc83b59d1a397 /net/cactid
parent3d0ae372d496d31a38813e6a9d202880c70bf4bf (diff)
downloadports-911e76f94c7978797ee933c716def044659ab53b.tar.gz
ports-911e76f94c7978797ee933c716def044659ab53b.zip
- Move include files to ${PREFIX}/include/cactid to avoid compile time
conflicts with php.h from lang/php* ports. Spotted by: pav
Notes
Notes: svn path=/head/; revision=131840
Diffstat (limited to 'net/cactid')
-rw-r--r--net/cactid/Makefile1
-rw-r--r--net/cactid/files/patch-Makefile.in18
-rw-r--r--net/cactid/pkg-plist18
3 files changed, 28 insertions, 9 deletions
diff --git a/net/cactid/Makefile b/net/cactid/Makefile
index 00e4525a509e..cc3561bb56c1 100644
--- a/net/cactid/Makefile
+++ b/net/cactid/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cactid
PORTVERSION= 0.8.6.d
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.cacti.net/downloads/cactid/
DISTNAME= cacti-${PORTNAME}-0.8.6d
diff --git a/net/cactid/files/patch-Makefile.in b/net/cactid/files/patch-Makefile.in
new file mode 100644
index 000000000000..5d48834ec407
--- /dev/null
+++ b/net/cactid/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig Wed Jan 19 06:04:10 2005
++++ Makefile.in Mon Mar 21 16:41:51 2005
+@@ -227,12 +227,12 @@
+ includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(includedir)
++ $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+- $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++ echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/$$f"; \
++ $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/$$f; \
+ done
+
+ uninstall-includeHEADERS:
diff --git a/net/cactid/pkg-plist b/net/cactid/pkg-plist
index 79c4f4cfe306..d75f2e54dff1 100644
--- a/net/cactid/pkg-plist
+++ b/net/cactid/pkg-plist
@@ -2,13 +2,13 @@ bin/cactid
@unexec if cmp -s %D/etc/cactid.conf %D/%%EXAMPLESDIR%%/cactid.conf; then rm -f %D/etc/cactid.conf; fi
%%EXAMPLESDIR%%/cactid.conf
@exec [ -f %D/etc/cactid.conf ] || cp %D/%%EXAMPLESDIR%%/httpd-std.conf %D/etc/cactid.conf
-include/cactid.h
-include/common.h
-include/locks.h
-include/nft_popen.h
-include/php.h
-include/poller.h
-include/snmp.h
-include/sql.h
-include/util.h
+include/cactid/cactid.h
+include/cactid/common.h
+include/cactid/locks.h
+include/cactid/nft_popen.h
+include/cactid/php.h
+include/cactid/poller.h
+include/cactid/snmp.h
+include/cactid/sql.h
+include/cactid/util.h
@dirrm %%EXAMPLESDIR%%