aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dnssd
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-28 05:43:49 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-28 05:43:49 +0800
commitffb20ff77d542412300089bba22de03479bcf369 (patch)
treec0fa81e89129dbac0a1192e7180c04f9d08c0729 /www/mod_dnssd
parent94d06c9c514900630c33f9cfd19d5af4ee5f2135 (diff)
downloadfreebsd-ports-gnome-ffb20ff77d542412300089bba22de03479bcf369.tar.gz
freebsd-ports-gnome-ffb20ff77d542412300089bba22de03479bcf369.tar.zst
freebsd-ports-gnome-ffb20ff77d542412300089bba22de03479bcf369.zip
- pet portlint
- use apxs not sed in pkg-plist - use PLIST_SUB vars in pkg-plist PR: ports/147146 Submitted by: pgollucci@ (myself) Approved by: gnome (kwm)
Diffstat (limited to 'www/mod_dnssd')
-rw-r--r--www/mod_dnssd/Makefile6
-rw-r--r--www/mod_dnssd/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/www/mod_dnssd/Makefile b/www/mod_dnssd/Makefile
index a3a0b182e3f0..36f0bababb63 100644
--- a/www/mod_dnssd/Makefile
+++ b/www/mod_dnssd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mod_dnssd
PORTVERSION= 0.6
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= www
MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ COMMENT= An Apache module that provides DNS-SD capabilities
LIB_DEPENDS= avahi-client.3:${PORTSDIR}/net/avahi-app
-MAKE_JOBS_SAFE= yes
+MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
USE_APACHE= 2.2+
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= --disable-lynx
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README
.endif
diff --git a/www/mod_dnssd/pkg-plist b/www/mod_dnssd/pkg-plist
index f56157daf0a3..f9e1b9ff7f7b 100644
--- a/www/mod_dnssd/pkg-plist
+++ b/www/mod_dnssd/pkg-plist
@@ -1,5 +1,5 @@
-@unexec sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%APACHEMODDIR%%/mod_dnssd.so
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f || true
+@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
+%%APACHEMODDIR%%/%%AP_MODULE%%
+@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%