freebsd-ports/textproc/iso12083/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
966 B
Makefile

# Created by: jfieber
# $FreeBSD$
PORTNAME= iso12083
PORTVERSION= 1993
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= LOCAL/kuriyama/iso12083
DISTFILES= article.dtd book.dtd maths.dtd serial.dtd
EXTRACT_ONLY= # empty
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= SGML DTDs from the The Electronic Publishing Special Interest Group
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
DIST_SUBDIR= iso12083
NO_MTREE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR}
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
INSTDIR= ${STAGEDIR}${PREFIX}/share/sgml/iso12083
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
pre-install:
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
do-install:
@for i in ${DISTFILES}; do \
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${INSTDIR}/$$i; \
done
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
.include <bsd.port.mk>