diff options
author | jlam <jlam@pkgsrc.org> | 1999-10-07 17:22:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-10-07 17:22:59 +0000 |
commit | e7504e504e92ca65aa65ef18928c580883ac5a03 (patch) | |
tree | dfdda05c48e879b1a7a6b51adb4b05cf6170e72b /x11/asclock/Makefile | |
parent | 39d24f27fe61aa2c2d112daa70a833130e26b10d (diff) | |
download | pkgsrc-e7504e504e92ca65aa65ef18928c580883ac5a03.tar.gz |
* fetch aslock from the One True Source http://www.asclock.org/
* modify our local patches to add new -dock option to asclock. This used
to be called "-withdrawn" before, but was changed to match the options
of the other "official" asclock distributions.
* install the month and day XPMs for other languages in the name of
internationalization
Diffstat (limited to 'x11/asclock/Makefile')
-rw-r--r-- | x11/asclock/Makefile | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/x11/asclock/Makefile b/x11/asclock/Makefile index 5578eab2394..538558b1a21 100644 --- a/x11/asclock/Makefile +++ b/x11/asclock/Makefile @@ -1,14 +1,23 @@ -# $NetBSD: Makefile,v 1.13 1999/04/15 20:39:48 tron Exp $ +# $NetBSD: Makefile,v 1.14 1999/10/07 17:22:59 jlam Exp $ # -DISTNAME= asclock -PKGNAME= asclock-11 -CATEGORIES= x11 -MASTER_SITES= ${MASTER_SITE_SUNSITE:=X11/clocks/} +DISTNAME= asclock-classic-1.0 +PKGNAME= asclock-1.0 +CATEGORIES= x11 +MASTER_SITES= http://www.asclock.org/tar/ -MAINTAINER= hubertf@netbsd.org +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://www.asclock.org/ -DEPENDS+= xpm-3.4k:../../graphics/xpm +DEPENDS+= xpm-3.4k:../../graphics/xpm + +CONFLICTS= asclock-xlib-* asclock-gtk-* + +USE_IMAKE= yes + +LANGUAGES= english german portuguese dutch norwegian italian swedish \ + spanish hungarian breton french czech russian ukrainian \ + slovene indonesian danish # Choose language from: # 1) english [DEFAULT] @@ -36,10 +45,24 @@ LANG?=1 # 3) 2bit greyscale ( 4 colors) PANEL?=1 -USE_X11BASE= yes -INSTALL_TARGET= install install.man +WRKSRC= ${WRKDIR}/asclock1.0 +PLIST_SRC= ${WRKDIR}/.PLIST_SRC do-configure: cd ${WRKSRC} ; ( ${ECHO} ${LANG} ; ${ECHO} ${PANEL} ) | ./configure +post-install: + ${RM} -rf ${WRKSRC}/french/french2 + ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asclock +.for LANGUAGE in ${LANGUAGES} + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asclock/${LANGUAGE} + cd ${WRKSRC}/${LANGUAGE}; ${INSTALL_DATA} month.xpm weekday.xpm \ + ${PREFIX}/share/examples/asclock/${LANGUAGE} + @${ECHO} share/examples/asclock/${LANGUAGE}/month.xpm >> ${PLIST_SRC} + @${ECHO} share/examples/asclock/${LANGUAGE}/weekday.xpm >> ${PLIST_SRC} + @${ECHO} @dirrm share/examples/asclock/${LANGUAGE} >> ${PLIST_SRC} +.endfor + @${ECHO} @dirrm share/examples/asclock >> ${PLIST_SRC} + .include "../../mk/bsd.pkg.mk" |