summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoragc <agc>1998-04-24 09:20:33 +0000
committeragc <agc>1998-04-24 09:20:33 +0000
commit4cb376d208c6930263ef1594befa6cda48bb9463 (patch)
tree952fea766de99c1f4b39d1e2deb68084fcb17624 /print
parent95682d152ea69dc895642a7dc79a92b2fb524420 (diff)
downloadpkgsrc-4cb376d208c6930263ef1594befa6cda48bb9463.tar.gz
Move to relative paths in the pkgsrc tree.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript5/Makefile22
-rw-r--r--print/gv/Makefile4
-rw-r--r--print/lyx/Makefile8
3 files changed, 17 insertions, 17 deletions
diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile
index 50fd647e26e..fc8c5b241ce 100644
--- a/print/ghostscript5/Makefile
+++ b/print/ghostscript5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1998/04/15 10:38:45 agc Exp $
+# $NetBSD: Makefile,v 1.12 1998/04/24 09:20:37 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1997/10/13 11:22:43 asami Exp
#
@@ -12,11 +12,11 @@ DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
MAINTAINER= explorer@netbsd.org
-BUILD_DEPENDS= ${PORTSDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6a:${PORTSDIR}/graphics/jpeg:extract \
- ${PORTSDIR}/graphics/png/${WRKDIR:T}/libpng-0.96:${PORTSDIR}/graphics/png:extract \
- unzip:${PORTSDIR}/archivers/unzip
+BUILD_DEPENDS= ../../graphics/jpeg/${WRKDIR:T}/jpeg-6a:../../graphics/jpeg:extract \
+ ../../graphics/png/${WRKDIR:T}/libpng-0.96:../../graphics/png:extract \
+ unzip:../../archivers/unzip
-MAKE_ENV= PORTSDIR=${PORTSDIR}
+MAKE_ENV= PORTSDIR=${.CURDIR}/../..
EXTRACT_ONLY= ${GS_SOURCES}
WRKSRC= ${WRKDIR}/gs5.10
MAKEFILE= unix-gcc.mak
@@ -44,16 +44,16 @@ post-extract:
${TOUCH} ${WRKSRC}/adler32.o
${TOUCH} ${WRKSRC}/deflate.o
${TOUCH} ${WRKSRC}/trees.o
- ln -s ${PORTSDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6a ${WRKSRC}/jpeg-6a
- ln -s ${PORTSDIR}/graphics/png/${WRKDIR:T}/libpng-0.96 ${WRKSRC}/libpng
+ ${LN} -s ../../../../graphics/jpeg/${WRKDIR:T}/jpeg-6a ${WRKSRC}/jpeg-6a
+ ${LN} -s ../../../../graphics/png/${WRKDIR:T}/libpng-0.96 ${WRKSRC}/libpng
cd ${WRKSRC} && unzip -La ${DISTDIR}/${HP850_DRV}
do-configure:
.if defined(BATCH)
- @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
+ @${SETENV} PORTSDIR=${.CURDIR}/../.. WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure.batch
.else
- @${SETENV} PORTSDIR=${PORTSDIR} WRKSRC=${WRKSRC} \
+ @${SETENV} PORTSDIR=${.CURDIR}/../.. WRKSRC=${WRKSRC} \
${SH} ${SCRIPTDIR}/configure
.endif
@@ -82,7 +82,7 @@ post-install:
strip ${PREFIX}/bin/gs
pre-clean:
- @cd ${PORTSDIR}/graphics/jpeg && ${MAKE} clean
- @cd ${PORTSDIR}/graphics/png && ${MAKE} clean
+ @cd ../../graphics/jpeg && ${MAKE} clean
+ @cd ../../graphics/png && ${MAKE} clean
.include "../../mk/bsd.pkg.mk"
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 77795207e3d..85cf02f2dff 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/04/22 14:22:47 agc Exp $
+# $NetBSD: Makefile,v 1.10 1998/04/24 09:20:37 agc Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#
@@ -9,7 +9,7 @@ MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
MAINTAINER= packages@netbsd.org
DEPENDS+= Xaw3d-1.3:../../x11/Xaw3d
-RUN_DEPENDS= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript5
+RUN_DEPENDS= ${LOCALBASE}/bin/gs:../../print/ghostscript5
USE_IMAKE= yes
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 06ba98f3214..d6cd8738c09 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/04/22 14:22:47 agc Exp $
+# $NetBSD: Makefile,v 1.7 1998/04/24 09:20:37 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1998/02/14 16:46:50 andreas Exp
#
@@ -9,9 +9,9 @@ MASTER_SITES= ftp://ftp.via.ecp.fr/pub/lyx/stable/ \
MAINTAINER= frueauf@netbsd.org
-BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
- ispell:${PORTSDIR}/textproc/ispell
+BUILD_DEPENDS= latex:../../print/teTeX
+RUN_DEPENDS= latex:../../print/teTeX \
+ ispell:../../textproc/ispell
DEPENDS+= xpm-3.4j:../../graphics/xpm
DEPENDS+= xforms-0.88:../../x11/xforms