Lines 6-37
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= uf-view |
8 |
PORTNAME= uf-view |
9 |
PORTVERSION= 2.0 |
9 |
PORTVERSION= 2.2 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= misc |
10 |
CATEGORIES= misc |
12 |
MASTER_SITES= http://www.hadess.net/files/software/uf-view/ |
11 |
MASTER_SITES= http://www.hadess.net/files/software/uf-view/ |
13 |
|
12 |
|
14 |
MAINTAINER= mcgee@wam.umd.edu |
13 |
MAINTAINER= mcgee@wam.umd.edu |
15 |
COMMENT= A gTK+ viewer for the User Friendly and several other popular comics |
14 |
COMMENT= A gTK+ viewer for the User Friendly and several other popular comics |
16 |
|
15 |
|
17 |
LIB_DEPENDS= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \ |
16 |
LIB_DEPENDS= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 \ |
18 |
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \ |
17 |
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \ |
19 |
gnome-desktop-2.3:${PORTSDIR}/x11/gnomedesktop |
18 |
gnome-desktop-2.3:${PORTSDIR}/x11/gnomedesktop |
20 |
|
19 |
|
21 |
USE_X_PREFIX= yes |
20 |
USE_X_PREFIX= yes |
22 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
23 |
USE_GNOMENG= yes |
22 |
USE_GNOMENG= yes |
24 |
USE_GNOME= gnomeprefix gnomehack gnomehier |
23 |
USE_GNOME= gnomeprefix gnomehack gnomehier |
25 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
|
|
25 |
USE_REINPLACE= yes |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
27 |
LDFLAGS="-L${LOCALBASE}/lib" |
27 |
LDFLAGS="-L${LOCALBASE}/lib" |
28 |
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} |
28 |
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} |
29 |
|
29 |
|
30 |
pre-patch: |
30 |
pre-patch: |
31 |
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
31 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
32 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
32 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
33 |
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ |
|
|
34 |
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ |
35 |
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' |
36 |
|
33 |
|
37 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |