1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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)
This commit is contained in:
Baptiste Daroussin 2012-02-22 16:48:34 +00:00
parent cfc53c851d
commit d432bec412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292067

View File

@ -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