diff options
author | vs <vs@FreeBSD.org> | 2005-05-19 15:43:40 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-05-19 15:43:40 +0800 |
commit | 674e596216d148a9e4741d8a0f83bad584fb9fef (patch) | |
tree | b68456e58afd721d1327220190fdaf56e9394b37 /print/dvisvg | |
parent | e11d3439eee71ccab0891b12eb9fbe1db72d72b9 (diff) | |
download | freebsd-ports-gnome-674e596216d148a9e4741d8a0f83bad584fb9fef.tar.gz freebsd-ports-gnome-674e596216d148a9e4741d8a0f83bad584fb9fef.tar.zst freebsd-ports-gnome-674e596216d148a9e4741d8a0f83bad584fb9fef.zip |
- Use DISTVERSION instead of PORTVERSION/DISTNAME
- Use MAKE_ARGS instead of patches
Diffstat (limited to 'print/dvisvg')
-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 |