freebsd-ports/sysutils/wmcube/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

41 lines
1.2 KiB
Makefile

# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= wmcube
PORTVERSION= 0.98
PORTREVISION= 3
CATEGORIES= sysutils windowmaker
MASTER_SITES= TUCOWS/x11/dock \
http://dockapps.org/download.php/id/222/ \
http://freebsd.unixfreunde.de/sources/
MAINTAINER= garga@FreeBSD.org
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3D object
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_XORG= xpm
MAKEFILE= Makefile.FREEBSD
PORTDOCS= CHANGES README TODO
SUB_FILES= pkg-message
USE_CSTD= gnu89
MAKE_JOBS_UNSAFE= yes
do-install:
${INSTALL_PROGRAM} -m 2755 ${WRKSRC}/wmcube ${STAGEDIR}${PREFIX}/bin
.for file in *.wmc
@${ECHO} "===> Installing extra 3d objects in ${STAGEDIR}${PREFIX}/share/${PORTNAME}"
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} ${STAGEDIR}${DATADIR}
.endfor
@${ECHO} "===> Installing README in ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}"
@${ECHO} "===> Please Read pkg-descr and README for usage information"
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>