blob: aa71255ca3fe267c85af26bc2460759f64ea6aa9 (
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
|
# Created by: chinsan
# $FreeBSD$
PORTNAME= cairo-clock
PORTVERSION= 0.3.4
PORTREVISION= 3
CATEGORIES= x11-clocks net gnome
MASTER_SITES= http://macslow.thepimp.net/projects/cairo-clock/
MAINTAINER= daichi@FreeBSD.org
COMMENT= MacSlow's Cairo-Clock
USE_GNOME= gtk20 intlhack libglade2 librsvg2
USES= pathfix iconv gmake pkgconfig gettext
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${GZIP_CMD} -d ${WRKSRC}/man/cairo-clock.1.gz
@${REINPLACE_CMD} -e 's,.gz,,; s,datadir)\/man,prefix)\/man,' \
${WRKSRC}/man/Makefile.in
post-configure:
.if ${OSVERSION} > 1000000 || ${CC:Mclang} != ""
@${REINPLACE_CMD} -e 's,--export-dynamic,-export-dynamic,' \
${WRKSRC}/src/Makefile
.endif
.include <bsd.port.mk>
|