Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 16:57:12 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332504 - head/textproc/xmlcatmgr
Message-ID:  <201311021657.rA2GvDCR058285@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Nov  2 16:57:12 2013
New Revision: 332504
URL: http://svnweb.freebsd.org/changeset/ports/332504

Log:
  - Use OPTIONS_DEFINE.
  - Add STAGEDIR support.

Deleted:
  head/textproc/xmlcatmgr/pkg-plist
Modified:
  head/textproc/xmlcatmgr/Makefile

Modified: head/textproc/xmlcatmgr/Makefile
==============================================================================
--- head/textproc/xmlcatmgr/Makefile	Sat Nov  2 16:50:54 2013	(r332503)
+++ head/textproc/xmlcatmgr/Makefile	Sat Nov  2 16:57:12 2013	(r332504)
@@ -9,24 +9,26 @@ MASTER_SITES=	SF
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	SGML and XML catalog manager
 
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 MAN1=		xmlcatmgr.1
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=		DEFAULT_CATALOG_SGML=${CATALOG_PORTS_SGML} \
-			DEFAULT_CATALOG_XML=${CATALOG_PORTS_XML}
-.if defined(NOPORTDOCS)
-CONFIGURE_ARGS+=	--disable-docs
-.endif
-PKGINSTALL=		${WRKDIR}/pkg-install
-PKGDEINSTALL=		${WRKDIR}/pkg-deinstall
-SUB_FILES=		pkg-install \
-			pkg-deinstall \
-			pkg-message
-SUB_LIST=		XMLCATMGR=${XMLCATMGR} \
-			CATALOG_MASTER_SGML=${CATALOG_MASTER_SGML} \
-			CATALOG_MASTER_XML=${CATALOG_MASTER_XML} \
-			CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
-			CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
+CONFIGURE_ARGS=	DEFAULT_CATALOG_SGML=${CATALOG_PORTS_SGML} \
+		DEFAULT_CATALOG_XML=${CATALOG_PORTS_XML}
+PKGINSTALL=	${WRKDIR}/pkg-install
+PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
+SUB_FILES=	pkg-install \
+		pkg-deinstall \
+		pkg-message
+SUB_LIST=	XMLCATMGR=${XMLCATMGR} \
+		CATALOG_MASTER_SGML=${CATALOG_MASTER_SGML} \
+		CATALOG_MASTER_XML=${CATALOG_MASTER_XML} \
+		CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
+		CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
+PLIST_FILES=	bin/xmlcatmgr man/man1/xmlcatmgr.1.gz
+PORTDOCS=	AUTHORS COPYING NEWS README TODO
 
 XMLCATMGR?=		${PREFIX}/bin/xmlcatmgr
 CATALOG_MASTER_SGML?=	${PREFIX}/share/sgml/catalog
@@ -34,9 +36,12 @@ CATALOG_PORTS_SGML?=	${PREFIX}/share/sgm
 CATALOG_MASTER_XML?=	${PREFIX}/share/xml/catalog
 CATALOG_PORTS_XML?=	${PREFIX}/share/xml/catalog.ports
 
-NO_STAGE=	yes
-post-install:
-	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-	@${CAT} ${PKGMESSAGE}
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
+CONFIGURE_ARGS+=	--disable-docs
+.endif
 
 .include <bsd.port.mk>



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