openbsd-ports/x11/asclock/Makefile

66 lines
1.4 KiB
Makefile
Raw Normal View History

1998-05-19 01:49:06 -04:00
# OpenBSD makefile for: asclock
# Version required: 1.0
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.6 2000/10/22 15:43:44 espie Exp $
1998-05-19 01:49:06 -04:00
#
DISTNAME= asclock
PKGNAME= asclock-1.0
CATEGORIES= x11
NEED_VERSION= 1.305
1998-05-19 01:49:06 -04:00
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
EXTRACT_SUFX= .tgz
MAINTAINER= ports@openbsd.org
1998-05-19 01:49:06 -04:00
2000-03-23 15:14:18 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= imake
2000-03-31 12:22:05 -05:00
FLAVORS=english german portuguese dutch norwegian italian swedish spanish \
hungarian breton french czech
FLAVOR?=english
# Note we test whether FLAVOR contains english or german or...
# there are some other options to asclock building, maybe we should extend
# the flavor ?
.if ${FLAVOR:L:Menglish}
ASCLOCK_LANG=1
.elif ${FLAVOR:L:Mgerman}
ASCLOCK_LANG=2
.elif ${FLAVOR:L:Mportuguese}
ASCLOCK_LANG=3
.elif ${FLAVOR:L:Mdutch}
ASCLOCK_LANG=4
.elif ${FLAVOR:L:Mnorwegian}
ASCLOCK_LANG=5
.elif ${FLAVOR:L:Mitalian}
ASCLOCK_LANG=6
.elif ${FLAVOR:L:Mswedish}
ASCLOCK_LANG=7
.elif ${FLAVOR:L:Mspanish}
ASCLOCK_LANG=8
.elif ${FLAVOR:L:Mhungarian}
ASCLOCK_LANG=9
.elif ${FLAVOR:L:Mbreton}
ASCLOCK_LANG=0
.elif ${FLAVOR:L:Mfrench}
ASCLOCK_LANG=a
.elif ${FLAVOR:L:Mczech}
ASCLOCK_LANG=b
.endif
1998-05-19 01:49:06 -04:00
pre-configure:
2000-03-31 12:22:05 -05:00
@cd ${WRKSRC} && echo ${ASCLOCK_LANG} | ./configure >/dev/null
1998-05-19 01:49:06 -04:00
.include <bsd.port.mk>