blob: f407349156ee55d6ffd87f1500b1707f09ad9cc1 (
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
43
44
|
# $NetBSD: Makefile,v 1.28 2011/04/22 13:44:53 obache Exp $
#
DISTNAME= asclock-gtk-2.1.10beta
PKGNAME= asclock-gtk-2.1.10
PKGREVISION= 5
CATEGORIES= x11 time
MASTER_SITES= ${MASTER_SITE_LOCAL} # www.asclock.org is no more
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Dockable clock and calendar with themes for GTK+
PKG_DESTDIR_SUPPORT= user-destdir
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
WRKSRC= ${WRKDIR}/asclock-gtk
USE_X11BASE= yes
PLIST_SRC= ${PKGDIR}/PLIST \
${PKGDIR}/PLIST.themes
BUILD_TARGET= asclock
INSTALLATION_DIRS= bin share/asclock-gtk share/doc/asclock-gtk
pre-configure:
cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
pre-install:
${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
${RM} -rf ${WRKSRC}/themes/themes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asclock ${DESTDIR}${PREFIX}/bin/asclock-gtk
${INSTALL_DATA} ${WRKSRC}/README.THEMES ${DESTDIR}${PREFIX}/share/doc/asclock-gtk
${CP} -R ${WRKSRC}/themes/* ${DESTDIR}${PREFIX}/share/asclock-gtk
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/asclock-gtk
.include "../../x11/gtk/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|