Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 17:23:03 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350141 - head/dns/idnkit
Message-ID:  <201404041723.s34HN3fR001814@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Apr  4 17:23:03 2014
New Revision: 350141
URL: http://svnweb.freebsd.org/changeset/ports/350141
QAT: https://qat.redports.org/buildarchive/r350141/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Define DOCS option

Modified:
  head/dns/idnkit/Makefile
  head/dns/idnkit/pkg-plist

Modified: head/dns/idnkit/Makefile
==============================================================================
--- head/dns/idnkit/Makefile	Fri Apr  4 16:59:57 2014	(r350140)
+++ head/dns/idnkit/Makefile	Fri Apr  4 17:23:03 2014	(r350141)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://www.nic.ad.jp/ja/id
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A library to handle internationalized domain names
+COMMENT=	Library to handle internationalized domain names
 
 USE_AUTOTOOLS=	libtool
 USES=		iconv
@@ -20,33 +20,18 @@ CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE} 
 
 USE_LDCONFIG=	yes
 
-MAN1=		idnconv.1 \
-		runidn.1
-MAN3=		libidnkit.3 \
-		libidnkitlite.3
-MAN5=		idn.conf.5 \
-		idnalias.conf.5 \
-		idnrc.5
-MANCOMPRESSED=	no
+OPTIONS_DEFINE=	DOCS
 
-DOCS_EN=	ChangeLog NEWS README
-DOCS_JA=	README.ja
-
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		's|mode=link $$(LD)|mode=link $$(CC)|'
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la ${PREFIX}/lib
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}/ja
-.for f in ${DOCS_EN}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.for f in ${DOCS_JA}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja/
-.endfor
-.endif
+	${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la \
+		${STAGEDIR}${PREFIX}/lib
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
+	(cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README \
+		${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
 
 .include <bsd.port.mk>

Modified: head/dns/idnkit/pkg-plist
==============================================================================
--- head/dns/idnkit/pkg-plist	Fri Apr  4 16:59:57 2014	(r350140)
+++ head/dns/idnkit/pkg-plist	Fri Apr  4 17:23:03 2014	(r350141)
@@ -49,11 +49,18 @@ lib/libidnkitres.a
 lib/libidnkitres.la
 lib/libidnkitres.so
 lib/libidnkitres.so.1
+man/man1/idnconv.1.gz
+man/man1/runidn.1.gz
+man/man3/libidnkit.3.gz
+man/man3/libidnkitlite.3.gz
+man/man5/idn.conf.5.gz
+man/man5/idnalias.conf.5.gz
+man/man5/idnrc.5.gz
 share/idnkit/jp.map
 @dirrm share/idnkit
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/ja/README.ja
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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