|
Lines 7-13
Link Here
|
| 7 |
# |
7 |
# |
| 8 |
|
8 |
|
| 9 |
PORTNAME= gqview |
9 |
PORTNAME= gqview |
| 10 |
PORTVERSION= 1.3.7 |
10 |
PORTVERSION= 1.3.8 |
| 11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
| 12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
| 13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
Lines 16-43
Link Here
|
| 16 |
MAINTAINER= cthulhu@cthulhu.ru |
16 |
MAINTAINER= cthulhu@cthulhu.ru |
| 17 |
COMMENT= Another gtk2-based graphic file viewer |
17 |
COMMENT= Another gtk2-based graphic file viewer |
| 18 |
|
18 |
|
|
|
19 |
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \ |
| 20 |
iconv.3:${PORTSDIR}/converters/libiconv \ |
| 21 |
png.5:${PORTSDIR}/graphics/png |
| 22 |
|
| 19 |
USE_X_PREFIX= yes |
23 |
USE_X_PREFIX= yes |
| 20 |
USE_GNOME= gtk20 |
24 |
USE_GNOME= gtk20 |
| 21 |
WANT_GNOME= yes |
|
|
| 22 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
| 23 |
USE_REINPLACE= yes |
|
|
| 24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
| 25 |
LIBS="-L${LOCALBASE}/lib" |
27 |
LIBS="-L${LOCALBASE}/lib" |
| 26 |
|
28 |
|
| 27 |
.if !defined(WANT_GNOME) || defined(WITHOUT_GNOME) |
|
|
| 28 |
CONFIGURE_ARGS= --disable-gnome |
| 29 |
.endif |
| 30 |
|
| 31 |
MAN1= gqview.1 |
29 |
MAN1= gqview.1 |
| 32 |
|
30 |
|
| 33 |
post-patch: |
|
|
| 34 |
@${REINPLACE_CMD} -e 's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g' \ |
| 35 |
${WRKSRC}/aclocal.m4 |
| 36 |
|
| 37 |
post-install: |
| 38 |
.if !defined(NOPORTDOCS) |
31 |
.if !defined(NOPORTDOCS) |
| 39 |
@${MKDIR} ${PREFIX}/share/doc/gqview |
32 |
post-install: |
| 40 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gqview |
33 |
@${MKDIR} ${DOCSDIR} |
|
|
34 |
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
| 41 |
.endif |
35 |
.endif |
| 42 |
|
36 |
|
| 43 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |