blob: 99b7ebfbfee2ead0d86005d96c6bd70b453afa58 (
plain)
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
|
# Ports collection Makefile for: zclock
# Date created: 24 July 2001
# Whom: Zack Hobson <zgh@malfunktion.net>
#
# $FreeBSD$
#
PORTNAME= zclock
PORTVERSION= 1.0
CATEGORIES= x11-clocks gnome
MASTER_SITES= http://zack.vpop.net/download/
MAINTAINER= zgh@malfunktion.net
COMMENT= A simple but powerful clock applet for GNOME
.if !defined(NOPORTDOCS)
# I am going to install the dependencies for building the Zclock html
# documentation. If you do not want to install these tools, run
# make NOPORTDOCS=true
# For best results (and less build warnings), install the
# GDP stylesheet:
# http://people.redhat.com/dcm/dsssl/gdp-both.dsl
BUILD_DEPENDS+= db2html:${PORTSDIR}/textproc/dsssl-docbook-cygnus
.endif
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>
|