mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
5dc9b7f571
PR: 42349 Submitted by: Edwin Groothuis <edwin@mavetju.org>
46 lines
1018 B
Makefile
46 lines
1018 B
Makefile
# New ports collection makefile for: gqview
|
|
# Date Created: 27 Oct 1998
|
|
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gqview
|
|
PORTVERSION= 1.1.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOMENG= yes
|
|
USE_GNOME= gdkpixbuf
|
|
WANT_GNOME= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mlibcapplet}!=""
|
|
USE_GNOME+= libcapplet
|
|
PKGNAMESUFFIX= -gnome
|
|
.endif
|
|
|
|
MAN1= gqview.1
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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.post.mk>
|