aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/asclock-gtk/Makefile
blob: 07b9e01b579a74e2ab225061c37f38d586aa9160 (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
# $FreeBSD$

PORTNAME=   asclock-gtk
PORTVERSION=    2.1.10
PORTREVISION=   9
CATEGORIES= x11-clocks afterstep windowmaker
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
DISTNAME=   ${PORTNAME}-${PORTVERSION}beta

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    New flavor of asclock (GTK version)

WRKSRC=     ${WRKDIR}/${PORTNAME}
ALL_TARGET= asclock
INSTALL_TARGET= install PREFIX=${STAGEDIR}${PREFIX}

USE_XORG=   x11 xt
USE_GNOME=  gtk12
HAS_CONFIGURE=  yes

MAKE_JOBS_UNSAFE=   yes

post-patch:
    ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM}

.if defined(BATCH)
do-configure:
    @(cd ${WRKSRC}; \
      ${RM} -rf default_theme; \
      ${LN} -s themes/classic default_theme)
.endif

.include <bsd.port.mk>