diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-05-19 07:43:40 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-05-19 07:43:40 +0000 |
commit | 8204d04b1fe3aa6aec2d2d4d1ec8bc4605fc3562 (patch) | |
tree | 2c0bbf5c43ac59e1c2e7402d79b97dc709794a39 | |
parent | ec5a413866f308d8a7bbc4c8ed0598b7134b91bb (diff) | |
download | ports-8204d04b1fe3aa6aec2d2d4d1ec8bc4605fc3562.tar.gz ports-8204d04b1fe3aa6aec2d2d4d1ec8bc4605fc3562.zip |
Notes
-rw-r--r-- | print/dvisvg/Makefile | 10 | ||||
-rw-r--r-- | print/dvisvg/files/patch-Makefile | 27 |
2 files changed, 6 insertions, 31 deletions
diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 2821df4e31ff..01d5a6f3b0fa 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -7,10 +7,9 @@ # PORTNAME= dvisvg -PORTVERSION= 0.7.1.d +DISTVERSION= 0.7.1d CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/ -DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org COMMENT= Convertor from DVI to SVG @@ -24,7 +23,11 @@ USE_REINPLACE= yes USE_GETOPT_LONG= yes USE_GHOSTSCRIPT_RUN= yes ALL_TARGET= # empty -MAKE_ENV= TEXMFLOCAL=${TEXMFLOCAL} +MAKE_ARGS= CC="${CC} ${CFLAGS}" TARGETDIR=${PREFIX} \ + LINC=${LOCALBASE}/include \ + LLIB=${LOCALBASE}/lib \ + BINDIR=${PREFIX}/bin \ + CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R @@ -34,7 +37,6 @@ PLIST_FILES= bin/dvisvg MAN1= dvisvg.1 post-patch: - @${REINPLACE_CMD} -e "s,[$$][(]CC[)],$$\(CC\) ${CFLAGS}," ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFLOCAL}," ${WRKSRC}/version.h do-install: diff --git a/print/dvisvg/files/patch-Makefile b/print/dvisvg/files/patch-Makefile deleted file mode 100644 index fa895b434be2..000000000000 --- a/print/dvisvg/files/patch-Makefile +++ /dev/null @@ -1,27 +0,0 @@ ---- Makefile.orig Mon Feb 28 20:45:37 2005 -+++ Makefile Fri Apr 15 15:04:06 2005 -@@ -2,19 +2,19 @@ - # automaticaly generated by configure script - - # Targer directory --TARGETDIR=/usr -+TARGETDIR=${PREFIX} - - # Kpathsea --LINC=$(TARGETDIR)/include --LLIB=$(TARGETDIR)/lib -+LINC=$(LOCALBASE)/include -+LLIB=$(LOCALBASE)/lib - - # CC - CC=cc -DHAVE_PROTOTYPES -posix - - # Install --BINDIR=$(TARGETDIR)/bin/i586-pc-linux-gnu -+BINDIR=$(TARGETDIR)/bin - MANDIR=$(TARGETDIR)/man/man1 --CNFDIR=/usr/share/texmf/dvisvg -+CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg - - # DVISVG - OFILES=dvibase.o napln.o dvitfm.o svgfonts.o dvipage.o svgout.o |