freebsd-ports/x11-clocks/asclock/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

43 lines
1.6 KiB
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= asclock
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11-clocks afterstep
MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Afterstep clock with some language extensions
CONFLICTS= asclock-gtk-[0-9]* asclock-xlib-[0-9]*
USES= tar:tgz imake
USE_XORG= xpm xext x11
PLIST_FILES= bin/asclock man/man1/asclock.1.gz
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) english [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>