[Midnightbsd-cvs] mports: print/cups-pstoraster: mark as broken for now installs to

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Oct 30 22:18:30 EDT 2007


Log Message:
-----------
mark as broken for now  installs to /usr/local and the makefile is evil.

Modified Files:
--------------
    mports/print/cups-pstoraster:
        Makefile (r1.2 -> r1.3)
        distinfo (r1.1 -> r1.2)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/print/cups-pstoraster/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lprint/cups-pstoraster/Makefile -Lprint/cups-pstoraster/Makefile -u -r1.2 -r1.3
--- print/cups-pstoraster/Makefile
+++ print/cups-pstoraster/Makefile
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	cups-pstoraster
-PORTVERSION=	8.15.3
-PORTREVISION=	1
+PORTVERSION=	8.15.4
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_EASYSW}
 MASTER_SITE_SUBDIR=	ghostscript/${PORTVERSION}
@@ -23,9 +22,12 @@
 ESPGS_VER=	${PORTVERSION}
 GS_VERSION=	8.15
 
+BROKEN=		installs to /usr/local... doesn't fake right.
+#FAKE_OPTS=	prefixhack
+#FAKE_MAKEARGS=	DESTDIR=${FAKE_DESTDIR}${PREFIX}
 WRKSRC=		${WRKDIR}/espgs-${PORTVERSION}
 
-DATADIR=	${TARGETDIR}/share/espgs
+DATADIR=	${PREFIX}/share/espgs
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
@@ -48,9 +50,9 @@
 	${LN} -sf ${WRKSRC}/pstoraster/gdevcups.c ${WRKSRC}/src
 	${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak
 .for file in pstopxl pstoraster
-	${REINPLACE_CMD} -e 's:@prefix@:${PREFIX}:g ; \
-		 s:@exec_prefix@:${PREFIX}:g ; \
-		 s:@bindir@:${PREFIX}/bin:g ; \
+	${REINPLACE_CMD} -e 's:@prefix@:${FAKE_DESTDIR}${PREFIX}:g ; \
+		 s:@exec_prefix@:${FAKE_DESTDIR}${PREFIX}:g ; \
+		 s:@bindir@:${FAKE_DESTDIR}${PREFIX}/bin:g ; \
 		 s:@GS@:espgs:g ; \
 		 s|^GS_LIB="|GS_LIB="${PREFIX}/share/ghostscript/fonts:|' \
 		 ${WRKSRC}/pstoraster/${file}.in
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/print/cups-pstoraster/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lprint/cups-pstoraster/distinfo -Lprint/cups-pstoraster/distinfo -u -r1.1 -r1.2
--- print/cups-pstoraster/distinfo
+++ print/cups-pstoraster/distinfo
@@ -1,3 +1,3 @@
-MD5 (ghostscript/espgs-8.15.3-source.tar.bz2) = 4ec87a3da20c1b433ffbe0ffe3675fcd
-SHA256 (ghostscript/espgs-8.15.3-source.tar.bz2) = c1f5eefc058b08113f90bc583436399d71644b61872fa39ab4982a58a80baa62
-SIZE (ghostscript/espgs-8.15.3-source.tar.bz2) = 8785418
+MD5 (ghostscript/espgs-8.15.4-source.tar.bz2) = e74e0463e0bfb1cea3db245d8e71828c
+SHA256 (ghostscript/espgs-8.15.4-source.tar.bz2) = 5afc038a12aa624836192940991081fcf95a9396a6e15f6fc707a2b5f2b7cacf
+SIZE (ghostscript/espgs-8.15.4-source.tar.bz2) = 8785497


More information about the Midnightbsd-cvs mailing list