blob: 6bf52f990faac7dd874b741e32fde72d77a3c660 (
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
|
# New ports collection makefile for: cairo-clock
# Date created: 2007/01/16
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= cairo-clock
PORTVERSION= 0.3.4
PORTREVISION= 2
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 gnomehack libglade2 librsvg2
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= cairo-clock.1
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
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-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in README NEWS AUTHORS TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
@${ECHO} ""
@${ECHO} "************************************************************************"
@${ECHO} " Please note that you need composite extension enabled in X.org or Xgl. "
@${ECHO} "************************************************************************"
.include <bsd.port.mk>
|