svn commit: r366600 - head/print/dvisvg
Hiroki Sato
hrs at FreeBSD.org
Sat Aug 30 09:12:42 UTC 2014
Author: hrs
Date: Sat Aug 30 09:12:41 2014
New Revision: 366600
URL: http://svnweb.freebsd.org/changeset/ports/366600
QAT: https://qat.redports.org/buildarchive/r366600/
Log:
- STAGEDIR support.
- Add LICENSE.
Added:
head/print/dvisvg/pkg-plist (contents, props changed)
Modified:
head/print/dvisvg/Makefile
Modified: head/print/dvisvg/Makefile
==============================================================================
--- head/print/dvisvg/Makefile Sat Aug 30 09:02:49 2014 (r366599)
+++ head/print/dvisvg/Makefile Sat Aug 30 09:12:41 2014 (r366600)
@@ -3,16 +3,18 @@
PORTNAME= dvisvg
DISTVERSION= 0.7.1d
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= http://dvisvg.sourceforge.net/files/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= hrs at FreeBSD.org
COMMENT= Converter from DVI to SVG
+LICENSE= GPLv2
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_GHOSTSCRIPT_RUN= yes
-USE_TEX= base texmf
+USE_TEX= base texmf texhash
ALL_TARGET= # empty
# workaround for svgfonts.c not including kpathsea/c-auto.h
CFLAGS+= -DHAVE_PROTOTYPES
@@ -20,32 +22,20 @@ MAKE_ARGS= CC="${CC} ${CFLAGS}" TARGETDI
LINC=${LOCALBASE}/include \
LLIB=${LOCALBASE}/lib \
BINDIR=${PREFIX}/bin \
- CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg \
-
-TEXMFLOCAL= share/texmf-local
-TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
-MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+ CNFDIR=${PREFIX}/${TEXMFDIR}/dvisvg \
-PLIST_FILES= bin/dvisvg
-MAN1= dvisvg.1
-
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFLOCAL}," ${WRKSRC}/version.h
+ @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFDIR}," \
+ ${WRKSRC}/version.h
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dvisvg.man ${MAN1PREFIX}/man/man1/dvisvg.1
- @${MKDIR} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dvisvg.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/dvisvg.1
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME}
.for file in dvisvg.map font2svg.enc font2svg.ps
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME}
- @${ECHO_CMD} "${TEXMFLOCAL}/${PORTNAME}/${file}" >> ${TMPPLIST}
+ ${INSTALL_DATA} ${WRKSRC}/${file} \
+ ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME}
.endfor
- @${ECHO_CMD} "@dirrm ${TEXMFLOCAL}/${PORTNAME}" >> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${MKTEXLSR}' >> ${TMPPLIST}
- @${ECHO_CMD} '@unexec ${MKTEXLSR}' >> ${TMPPLIST}
-
-post-install:
- @${MKTEXLSR}
.include <bsd.port.mk>
Added: head/print/dvisvg/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/dvisvg/pkg-plist Sat Aug 30 09:12:41 2014 (r366600)
@@ -0,0 +1,6 @@
+bin/dvisvg
+man/man1/dvisvg.1.gz
+%%TEXMFDIR%%/dvisvg/dvisvg.map
+%%TEXMFDIR%%/dvisvg/font2svg.enc
+%%TEXMFDIR%%/dvisvg/font2svg.ps
+ at dirrmtry %%TEXMFDIR%%/dvisvg
More information about the svn-ports-head
mailing list