freebsd-ports/x11-clocks/alltraxclock/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

30 lines
854 B
Makefile

# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$
PORTNAME= alltraxclock
PORTVERSION= 2.0.2
PORTREVISION= 11
CATEGORIES= x11-clocks
MASTER_SITES= http://perso.wanadoo.fr/alltrax/ \
LOCAL/novel
DISTNAME= ${PORTNAME}2_0.2-1
MAINTAINER= novel@FreeBSD.org
COMMENT= Analog clock plugin for gkrellm2
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
USES= pkgconfig
ALL_TARGET= alltraxclock.so
PLIST_FILES= libexec/gkrellm2/plugins/alltraxclock.so
WRKSRC= ${WRKDIR}/${PORTNAME}2_0.2/
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|;s|-O2||' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
.include <bsd.port.mk>