1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11/dgs/Makefile
Antoine Brodin 89b4379a17 Deprecate most glib12 consumers
With hat:	portmgr
2018-10-12 09:19:04 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Yukihiro Nakai <Nakai@technologist.com>
# $FreeBSD$
PORTNAME= dgs
PORTVERSION= 0.5.9.1
PORTREVISION= 18
CATEGORIES= x11
MASTER_SITES= GNU/../old-gnu/dgs
MAINTAINER= ports@FreeBSD.org
COMMENT= Display ghostscript system
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff
MAKE_JOBS_UNSAFE= yes
USE_XORG= xt sm ice xext x11
USE_GNOME= glib12
USES= ghostscript:run gmake jpeg libtool makeinfo
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-0.5.9
pre-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \
${REINPLACE_CMD} -e 's|manm|mann|g'
post-patch:
${REINPLACE_CMD} -e 's,@prefix@,$$(DESTDIR)@prefix@,g' \
-e 's,@mandir@,$$(DESTDIR)@mandir@,g' \
${WRKSRC}/gs/unix-gcc.mak.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
${INSTALL_SCRIPT} ${WRKSRC}/dgs-config ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/dpsnx.agent ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/dpsnx.agent.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>