8426708b4e
A big Thank You to the original contributors of these ports: * Alexey Dokuchaev <danfe@regency.nsu.ru> * Anders Nordby <anders@fix.no> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Brian Handy <handy@physics.montana.edu> * Chris D. Faulhaber <jedgar@FreeBSD.org> * Chris Piazza <cpiazza@FreeBSD.org> * David Leonard <leonard@dstc.edu.au> * Emanuel Haupt <ehaupt@critical.ch> * FURUSAWA, Kazuhisa <kazu@jp.freebsd.org> * Greg Lewis <glewis@FreeBSD.org> * Harold Gutch <logix@foobar.franken.de> * Hendrik Scholz <hscholz@raisdorf.net> * J Han <hjh@best.com> * KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> * Kris Kennaway <kris@FreeBSD.org> * Lars Koeller <lkoeller@cc.fh-lippe.de> * Martin Wilke (miwi@FreeBSD.org) * Nobuhiro Yasutomi * Patrick Li <pat@databits.net> et al * Per Otterstr=F6m <pelle@fukt.bth.se> * Randall Hopper <aa8vb@ipass.net> * Rich Neswold <rneswold@mcs.net> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Ulrich Spoerlein <uspoerlein@gmail.com> * Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> * desmo@bandwidth.org * gpalmer * gurkan@phys.ethz.ch * obrien@NUXI.com With hat: portmgr
81 lines
1.6 KiB
Makefile
81 lines
1.6 KiB
Makefile
PORTNAME= asclock
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-clocks afterstep
|
|
MASTER_SITES= XCONTRIB/applications
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Afterstep clock with some language extensions
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
CONFLICTS_INSTALL= asclock-xlib
|
|
|
|
USES= tar:tgz imake xorg
|
|
USE_XORG= xpm xext x11
|
|
PLIST_FILES= bin/asclock man/man1/asclock.1.gz
|
|
|
|
OPTIONS_DEFINE=
|
|
OPTIONS_SINGLE= LANG
|
|
OPTIONS_SINGLE_LANG= EN DE PT NL NO IT SE ES HU BRE FR CZ
|
|
OPTIONS_DEFAULT= EN
|
|
NO_OPTIONS_SORT=yes
|
|
EN_DESC= english
|
|
DE_DESC= german
|
|
PT_DESC= portuguese
|
|
NL_DESC= dutch
|
|
NO_DESC= norwegian
|
|
IT_DESC= italian
|
|
SE_DESC= swedish
|
|
ES_DESC= spanish
|
|
HU_DESC= hungarian
|
|
BRE_DESC= breton
|
|
FR_DESC= french
|
|
CZ_DESC= czech
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDE}
|
|
ASCLOCK_LANG= german
|
|
.endif
|
|
.if ${PORT_OPTIONS:MPT}
|
|
ASCLOCK_LANG= portuguese
|
|
.endif
|
|
.if ${PORT_OPTIONS:MNL}
|
|
ASCLOCK_LANG= dutch
|
|
.endif
|
|
.if ${PORT_OPTIONS:MNO}
|
|
ASCLOCK_LANG= norwegian
|
|
.endif
|
|
.if ${PORT_OPTIONS:MIT}
|
|
ASCLOCK_LANG= italian
|
|
.endif
|
|
.if ${PORT_OPTIONS:MSE}
|
|
ASCLOCK_LANG= swedish
|
|
.endif
|
|
.if ${PORT_OPTIONS:MES}
|
|
ASCLOCK_LANG= spanish
|
|
.endif
|
|
.if ${PORT_OPTIONS:MHU}
|
|
ASCLOCK_LANG= hungarian
|
|
.endif
|
|
.if ${PORT_OPTIONS:MBRE}
|
|
ASCLOCK_LANG= breton
|
|
.endif
|
|
.if ${PORT_OPTIONS:MFR}
|
|
ASCLOCK_LANG= french
|
|
.endif
|
|
.if ${PORT_OPTIONS:MCZ}
|
|
ASCLOCK_LANG= czech
|
|
.endif
|
|
|
|
# default
|
|
ASCLOCK_LANG?= english
|
|
|
|
pre-configure:
|
|
${RM} ${WRKSRC}/month.xpm ${WRKSRC}/weekday.xpm
|
|
(cd ${WRKSRC} && ${LN} -s ./${ASCLOCK_LANG}/month.xpm ./month.xpm)
|
|
(cd ${WRKSRC} && ${LN} -s ./${ASCLOCK_LANG}/weekday.xpm ./weekday.xpm)
|
|
|
|
.include <bsd.port.mk>
|