60d1a83c2a
- 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
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wmanager
|
|
PORTVERSION= 0.2.1
|
|
PORTREVISION= 13
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= DEBIAN_POOL
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X11 window manager selector
|
|
|
|
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
USES= gmake
|
|
USE_XORG= x11 xext
|
|
USE_GL= gl
|
|
|
|
OPTIONS_DEFINE= ADDONS DOCS EXAMPLES
|
|
OPTIONS_DEFAULT=ADDONS
|
|
ADDONS_DESC= Install the helper scripts and manpages
|
|
OPTIONS_SUB= yes
|
|
|
|
ADDONS_RUNDEPENDS= wmanager-loop:${PORTSDIR}/x11-wm/wmanager-addons
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in FAQ HISTORY INSTALL NEWS README TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${STAGEDIR}${EXAMPLESDIR}/wmanagerrc_sample
|
|
${INSTALL_DATA} ${WRKSRC}/.xinitrc ${STAGEDIR}${EXAMPLESDIR}/xinitrc_sample
|
|
|
|
.include <bsd.port.mk>
|