Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 22:39:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343163 - head/x11/dgs
Message-ID:  <201402062239.s16MdEXD064930@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Feb  6 22:39:14 2014
New Revision: 343163
URL: http://svnweb.freebsd.org/changeset/ports/343163
QAT: https://qat.redports.org/buildarchive/r343163/

Log:
  Support stage

Modified:
  head/x11/dgs/Makefile
  head/x11/dgs/pkg-plist

Modified: head/x11/dgs/Makefile
==============================================================================
--- head/x11/dgs/Makefile	Thu Feb  6 22:22:44 2014	(r343162)
+++ head/x11/dgs/Makefile	Thu Feb  6 22:39:14 2014	(r343163)
@@ -16,25 +16,15 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 		libtiff.so:${PORTSDIR}/graphics/tiff
 
 MAKE_JOBS_UNSAFE=	yes
-NO_STAGE=	yes
 
 USE_GHOSTSCRIPT_RUN=	yes
 USE_XORG=	xt sm ice xext x11
 USE_GNOME=	glib12
-USES=		gmake
+USES=		gmake libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	libtool
 WRKSRC=		${WRKDIR}/${PORTNAME}-0.5.9
 
-MAN1=		dgs.1 dpsnx.agent.1
-MANN=		dpsexec.man makepsres.man xepsf.man
-INSTALLDIRS=	gs DPS/clients/makepsres DPS/clients/pswrap \
-		DPS/demos/dpsexec DPS/demos/texteroids DPS/demos/xepsf \
-		DPS/lib/dpstk DPS/lib/psres DPS/lib/dps DPS/include/DPS
-
-.include <bsd.port.pre.mk>
-
 pre-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \
 		${REINPLACE_CMD} -e 's|manm|mann|g'
@@ -43,15 +33,14 @@ post-patch:
 	${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
 	-e 's|freebsd2\*)|freebsd2.\*)|' -e 's|freebsd1\*)|freebsd1.\*)|' \
 		${WRKSRC}/DPS/ltconfig
-
-do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/dgs-config ${PREFIX}/bin/
-	${INSTALL_SCRIPT} ${WRKSRC}/dpsnx.agent ${PREFIX}/bin/
+	${REINPLACE_CMD} -e 's,@prefix@,$$(DESTDIR)@prefix@,g' \
+		-e 's,@mandir@,$$(DESTDIR)@mandir@,g' \
+		${WRKSRC}/gs/unix-gcc.mak.in
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/dgs-config ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/dpsnx.agent ${STAGEDIR}${PREFIX}/bin/
 #	${INSTALL_DATA} ${WRKSRC}/path_dps.m4 ${PREFIX}/share/aclocal/
-	${INSTALL_MAN} ${WRKSRC}/dpsnx.agent.1 ${PREFIX}/man/man1/
-.for i in ${INSTALLDIRS}
-	@(cd ${INSTALL_WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} \
-		${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-.endfor
+	${INSTALL_MAN} ${WRKSRC}/dpsnx.agent.1 ${STAGEDIR}${PREFIX}/man/man1/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11/dgs/pkg-plist
==============================================================================
--- head/x11/dgs/pkg-plist	Thu Feb  6 22:22:44 2014	(r343162)
+++ head/x11/dgs/pkg-plist	Thu Feb  6 22:39:14 2014	(r343163)
@@ -36,14 +36,23 @@ lib/libdps.a
 lib/libdps.la
 lib/libdps.so
 lib/libdps.so.0
+lib/libdps.so.0.0.1
 lib/libdpstk.a
 lib/libdpstk.la
 lib/libdpstk.so
 lib/libdpstk.so.0
+lib/libdpstk.so.0.0.1
 lib/libpsres.a
 lib/libpsres.la
 lib/libpsres.so
 lib/libpsres.so.0
+lib/libpsres.so.0.0.1
+man/man1/dgs.1.gz
+man/man1/dpsnx.agent.1.gz
+man/mann/dpsexec.man.gz
+man/mann/makepsres.man.gz
+man/mann/xepsf.man.gz
+share/aclocal/path_dps.m4
 share/ghostscript/5.50/Fontmap
 share/ghostscript/5.50/doc/Bug-form.htm
 share/ghostscript/5.50/doc/C-style.htm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402062239.s16MdEXD064930>