blob: 63de6b9a7c5d81332a762a288370408d6719d9b8 (
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: buoh
# Date created: 10 November 2005
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= buoh
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= deskutils www gnome
MASTER_SITES= http://buoh.steve-o.org/downloads/
MAINTAINER= mezz@FreeBSD.org
COMMENT= A reader for online strips comics
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS= buoh.schemas
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
CFLAGS+= -g
STRIP=
.endif
pre-everything::
.if !defined(WITH_DEBUG)
@${ECHO_MSG} "You may specify the following on the command line:"
@${ECHO_MSG} " "
@${ECHO_MSG} "WITH_DEBUG=yes to enable debugging in Buoh."
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${X11BASE}/share/applications|g' \
${WRKSRC}/data/Makefile.in
post-install:
.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${LN} -sf ${DATADIR}/pixmaps/buoh64x64.png \
${X11BASE}/share/pixmaps/buoh64x64.png
.include <bsd.port.mk>
|