aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/asclock/Makefile
blob: 560216788a102c66ebe88ffb95ddf8641d91615a (plain) (blame)
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
45
46
47
# New ports collection makefile for:   asclock
# Date created:        20 June 1997
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   asclock
PORTVERSION=    1.0
CATEGORIES= x11-clocks afterstep
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Afterstep clock with some language extensions

USE_IMAKE=  yes
USE_XPM=    yes
MAN1=       asclock.1
PLIST_FILES=    bin/asclock

pre-configure:
    (cd ${WRKSRC}; \
    ${ECHO_CMD} ${ASCLOCK_LANG} | ${WRKSRC}/configure > /dev/null)
    @${ECHO_MSG} "*****************  NOTE  *****************"
    @${ECHO_MSG} "*                                        *"
    @${ECHO_MSG} "*  You can choose languages for asclock. *"
    @${ECHO_MSG} "* 1) engligh [DEFAULT]                   *"
    @${ECHO_MSG} "* 2) german                              *"
    @${ECHO_MSG} "* 3) portuguese                          *"
    @${ECHO_MSG} "* 4) dutch                               *"
    @${ECHO_MSG} "* 5) norwegian                           *"
    @${ECHO_MSG} "* 6) italian                             *"
    @${ECHO_MSG} "* 7) swedish                             *"
    @${ECHO_MSG} "* 8) spanish                             *"
    @${ECHO_MSG} "* 9) hungarian                           *"
    @${ECHO_MSG} "* 0) breton                              *"
    @${ECHO_MSG} "* a) french                              *"
    @${ECHO_MSG} "* b) czech                               *"
    @${ECHO_MSG} "*                                        *"
    @${ECHO_MSG} "* Specify the number you want when make. *"
    @${ECHO_MSG} "* Example: \" make ASCLOCK_LANG=1 \"       *"
    @${ECHO_MSG} "******************************************"

.include <bsd.port.mk>