blob: 4880a4b11fc24094c06c30a231028dc12b2e759a (
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
|
# $NetBSD: Makefile,v 1.2 2001/02/17 17:31:59 wiz Exp $
#
DISTNAME= asclock-gtk-2.1.10beta
PKGNAME= asclock-gtk-2.1.10
WRKSRC= ${WRKDIR}/asclock-gtk
CATEGORIES= x11 time
MASTER_SITES= http://www.asclock.org/tar/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.asclock.org/
COMMENT= dockable clock and calendar with themes for GTK+
DEPENDS+= gtk+-1.2.*:../../x11/gtk
USE_X11BASE= yes
PLIST_SRC= ${PKGDIR}/PLIST \
${PKGDIR}/PLIST.themes
ALL_TARGET= asclock
EVAL_PREFIX+= GTKDIR=gtk+
MAKE_ENV+= CONFIG_PATH="${GTKDIR}/bin/" # for gtk-config
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 ${PREFIX}/bin/asclock-gtk
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-gtk
${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock-gtk
${MKDIR} ${PREFIX}/share/asclock-gtk
${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-gtk
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-gtk
.include "../../mk/bsd.pkg.mk"
|