diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/dgs/Makefile | 29 | ||||
-rw-r--r-- | x11/dgs/pkg-plist | 9 |
2 files changed, 18 insertions, 20 deletions
diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile index 8ccae7b88406..a7a6aaff8df2 100644 --- a/x11/dgs/Makefile +++ b/x11/dgs/Makefile @@ -16,25 +16,15 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ 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 + ${REINPLACE_CMD} -e 's,@prefix@,$$(DESTDIR)@prefix@,g' \ + -e 's,@mandir@,$$(DESTDIR)@mandir@,g' \ + ${WRKSRC}/gs/unix-gcc.mak.in -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dgs-config ${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/dpsnx.agent ${PREFIX}/bin/ +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> diff --git a/x11/dgs/pkg-plist b/x11/dgs/pkg-plist index b517c4e48ca8..64d0366d688f 100644 --- a/x11/dgs/pkg-plist +++ b/x11/dgs/pkg-plist @@ -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 |