ports/164416: [PATCH] textproc/iso8879: Fix on 9 and 10
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jan 23 18:00:25 UTC 2012
>Number: 164416
>Category: ports
>Synopsis: [PATCH] textproc/iso8879: Fix on 9 and 10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 23 18:00:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Baptiste Daroussin
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD azathoth.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r227964M: Thu Dec 1 23:52:49
>Description:
Both 9 and 10 have unzip in base which makes this port failing 2 possible fixes:
the one I'm proposing or:
just s/unzip/${LOCALBASE}/bin/unzip
Port maintainer (kuriyama at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- iso8879-1986_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/iso8879/Makefile,v
retrieving revision 1.26
diff -u -u -r1.26 Makefile
--- Makefile 6 Jun 2010 17:51:31 -0000 1.26
+++ Makefile 23 Jan 2012 17:57:04 -0000
@@ -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 at 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 @@
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
--- iso8879-1986_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list