mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
bdf48140fc
${PREFIX} during this phase. Makes the port installable by a non-root user. Approved by: kuriyama Inspired by: jhb
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: iso8879
|
|
# Date created: June 19, 1997
|
|
# Whom: jfieber
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= iso8879
|
|
PORTVERSION= 1986
|
|
PORTREVISION= 2
|
|
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
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR}
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
|
|
|
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 -a -q -o ${DISTDIR}/${DISTFILES} -d ${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
|
|
|
|
.include <bsd.port.mk>
|