diff options
author | bapt <bapt@FreeBSD.org> | 2012-02-23 00:48:34 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-02-23 00:48:34 +0800 |
commit | 9536e97304d83c8429378ae9bc9adf34e85ca80d (patch) | |
tree | b7874c3c562563e5f48f27b06b663e52318fe556 /textproc/iso8879 | |
parent | 1ac0851986f801e782b4786a002eb13bbf2373b4 (diff) | |
download | freebsd-ports-gnome-9536e97304d83c8429378ae9bc9adf34e85ca80d.tar.gz freebsd-ports-gnome-9536e97304d83c8429378ae9bc9adf34e85ca80d.tar.zst freebsd-ports-gnome-9536e97304d83c8429378ae9bc9adf34e85ca80d.zip |
Fix extraction on 9 and 10 which contains unzip in base, cleanly use USE_ZIP to handle unzip
PR: ports/164416
Submitted by: bapt (myself)
Approved by: maintainer timeout (> 3 weeks)
Diffstat (limited to 'textproc/iso8879')
-rw-r--r-- | textproc/iso8879/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile index e5fc568f0457..75ede90a0c62 100644 --- a/textproc/iso8879/Makefile +++ b/textproc/iso8879/Makefile @@ -7,20 +7,18 @@ PORTNAME= iso8879 PORTVERSION= 1986 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= kuriyama DISTNAME= isoENTS -EXTRACT_SUFX= .zip MAINTAINER= kuriyama@FreeBSD.org COMMENT= Character entity sets from ISO 8879:1986 (SGML) -BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr -EXTRACT_ONLY= # empty +USE_ZIP= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} @@ -30,14 +28,10 @@ INSTDIR= ${PREFIX}/share/sgml/iso8879 XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports -pre-su-install: - @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} - do-install: - @${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR} + @${MKDIR} ${INSTDIR} + @${INSTALL_DATA} ${WRKSRC}/ISO* ${INSTDIR} @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/* - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog |