1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/graphics/gqview/Makefile
Vanilla I. Shu b5ca58a3e4 Upgrade to 1.10.1
PR:		ports/25350 ,ports/25549
Submitted by:	KATO Tsuguru, Rémi Guyomarch <rguyom@pobox.com>
2001-03-14 23:36:06 +00:00

35 lines
836 B
Makefile

# New ports collection makefile for: gqview
# Date Created: 27 Oct 1998
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gqview
PORTVERSION= 0.10.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nakai@FreeBSD.org
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|GNOME_DATADIR\)/gnome/|GNOME_DATADIR\)/|g'
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gqview
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gqview
.endif
.include <bsd.port.mk>