svn commit: r405660 - head/astro/xeartk

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Jan 10 00:21:37 UTC 2016


Author: amdmi3
Date: Sun Jan 10 00:21:35 2016
New Revision: 405660
URL: https://svnweb.freebsd.org/changeset/ports/405660

Log:
  - Add NO_ARCH
  - Drop unneeded PLIST_DIRS
  - Unsilence install

Modified:
  head/astro/xeartk/Makefile

Modified: head/astro/xeartk/Makefile
==============================================================================
--- head/astro/xeartk/Makefile	Sun Jan 10 00:09:46 2016	(r405659)
+++ head/astro/xeartk/Makefile	Sun Jan 10 00:21:35 2016	(r405660)
@@ -12,19 +12,20 @@ COMMENT=	Small demo for tkgeomap
 
 LIB_DEPENDS=	libtkgeomap.so:${PORTSDIR}/astro/tkgeomap
 
-USES+=		tk:run
+USES=		tk:run
 NO_BUILD=	yes
+NO_ARCH=	yes
 DATA_FILES=	README cities land.xdr rivers.xdr water.xdr
-PLIST_FILES=	bin/${PORTNAME} ${DATA_FILES:S,^,%%DATADIR%%/,}
-PLIST_DIRS=	%%DATADIR%%
+PLIST_FILES=	bin/${PORTNAME} \
+		${DATA_FILES:S,^,%%DATADIR%%/,}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,data/,${DATADIR}/,g;s,wish,${WISH},' ${WRKSRC}/src/XEartk.tcl
 	@${REINPLACE_CMD} -e 's| 0\([0-9]\)| \1|g' ${WRKSRC}/data/cities
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/src/XEartk.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	@${INSTALL} -d ${STAGEDIR}${DATADIR}
-	@${INSTALL_DATA} ${DATA_FILES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${DATADIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/src/XEartk.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${DATA_FILES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list