mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog.
This commit is contained in:
parent
2bc3d53074
commit
89ac439127
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34292
@ -13,14 +13,18 @@ DISTFILES= article.dtd book.dtd maths.dtd serial.dtd
|
||||
|
||||
MAINTAINER= jfieber@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
|
||||
|
||||
DIST_SUBDIR= iso12083
|
||||
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
EXTRACT_ONLY= # empty
|
||||
PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
|
||||
|
||||
INSTDIR= ${PREFIX}/share/sgml/iso12083
|
||||
MKCATALOG= ${PREFIX}/sbin/mkcatalog
|
||||
|
||||
pre-install:
|
||||
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
|
||||
@ -31,4 +35,7 @@ do-install:
|
||||
done
|
||||
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
|
||||
|
||||
post-install:
|
||||
@${MKCATALOG} -q install ${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,5 +2,8 @@ share/sgml/iso12083/article.dtd
|
||||
share/sgml/iso12083/book.dtd
|
||||
share/sgml/iso12083/maths.dtd
|
||||
share/sgml/iso12083/serial.dtd
|
||||
@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
|
||||
share/sgml/iso12083/catalog
|
||||
@exec %%MKCATALOG%% -q install %%DTD_NAME%%
|
||||
@dirrm share/sgml/iso12083
|
||||
@unexec rmdir %D/share/sgml 2>/dev/null || true
|
||||
|
@ -12,14 +12,17 @@ MASTER_SITES= http://fallout.campusview.indiana.edu/ports/distfiles/
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879
|
||||
RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
|
||||
${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
|
||||
|
||||
EXTRACT_ONLY= # empty
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
|
||||
|
||||
INSTDIR= ${PREFIX}/share/sgml/linuxdoc
|
||||
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
|
||||
MKCATALOG= ${PREFIX}/sbin/mkcatalog
|
||||
|
||||
pre-install:
|
||||
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
|
||||
@ -29,4 +32,7 @@ do-install:
|
||||
@${CHMOD} ${SHAREMODE} ${INSTDIR}/*
|
||||
@${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}
|
||||
|
||||
post-install:
|
||||
@${MKCATALOG} -q install ${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
share/sgml/linuxdoc/README
|
||||
@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
|
||||
share/sgml/linuxdoc/catalog
|
||||
@exec %%MKCATALOG%% -q install %%DTD_NAME%%
|
||||
share/sgml/linuxdoc/freebsd-1.0.dtd
|
||||
share/sgml/linuxdoc/freebsd-1.1.dtd
|
||||
share/sgml/linuxdoc/linuxdoc.dec
|
||||
|
Loading…
Reference in New Issue
Block a user