Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 10:28:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409330 - head/www/mod_dnssd
Message-ID:  <201602221028.u1MAS6jP012982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 22 10:28:05 2016
New Revision: 409330
URL: https://svnweb.freebsd.org/changeset/ports/409330

Log:
  - Add LICENSE
  - Remove unneded flags
  - Switch to options helpers

Modified:
  head/www/mod_dnssd/Makefile

Modified: head/www/mod_dnssd/Makefile
==============================================================================
--- head/www/mod_dnssd/Makefile	Mon Feb 22 10:17:45 2016	(r409329)
+++ head/www/mod_dnssd/Makefile	Mon Feb 22 10:28:05 2016	(r409330)
@@ -11,6 +11,9 @@ PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Apache module that provides DNS-SD capabilities
 
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libavahi-client.so:${PORTSDIR}/net/avahi-app
 
 USES=		gmake pkgconfig
@@ -18,8 +21,6 @@ USE_APACHE=	22+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
 		APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-lynx
 
 OPTIONS_DEFINE=	DOCS
@@ -31,8 +32,10 @@ pre-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/README
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602221028.u1MAS6jP012982>