Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / time / asclock-gtk / Makefile
blob89c15cef239b76cd9c6bfc6e63f1b6022bb04da2
1 # $NetBSD: Makefile,v 1.29 2012/10/08 13:04:16 asau Exp $
4 DISTNAME= asclock-gtk-2.1.10beta
5 PKGNAME= asclock-gtk-2.1.10
6 PKGREVISION= 5
7 CATEGORIES= x11 time
8 MASTER_SITES= ${MASTER_SITE_LOCAL} # www.asclock.org is no more
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 COMMENT= Dockable clock and calendar with themes for GTK+
13 NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
15 WRKSRC= ${WRKDIR}/asclock-gtk
16 USE_X11BASE= yes
18 PLIST_SRC= ${PKGDIR}/PLIST \
19 ${PKGDIR}/PLIST.themes
21 BUILD_TARGET= asclock
23 INSTALLATION_DIRS= bin share/asclock-gtk share/doc/asclock-gtk
25 pre-configure:
26 cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
28 pre-install:
29 ${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
30 ${RM} -rf ${WRKSRC}/themes/themes
32 do-install:
33 ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${DESTDIR}${PREFIX}/bin/asclock-gtk
34 ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${DESTDIR}${PREFIX}/share/doc/asclock-gtk
35 ${CP} -R ${WRKSRC}/themes/* ${DESTDIR}${PREFIX}/share/asclock-gtk
36 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/asclock-gtk
38 .include "../../x11/gtk/buildlink3.mk"
39 .include "../../x11/libXext/buildlink3.mk"
40 .include "../../x11/libXt/buildlink3.mk"
41 .include "../../mk/bsd.pkg.mk"