aboutsummaryrefslogtreecommitdiffstats
path: root/misc/uf-view/Makefile
blob: d3e9f5c35e0f276f9f928bc4cbdeaf331f7633dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Created by: Jonathan McGee <mcgee@wam.umd.edu>
# $FreeBSD$

PORTNAME=   uf-view
PORTVERSION=    2.4
PORTREVISION=   12
CATEGORIES= misc
MASTER_SITES=   http://www.hadess.net/files/software/uf-view/

MAINTAINER= mcgee@wam.umd.edu
COMMENT=    A gTK+ viewer for the User Friendly and several other popular comics

USES=       gmake pkgconfig
USE_GNOME=  gnomeprefix gnomehack gnomehier gnomevfs2 gnomedesktop libgnomeui
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

pre-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>