2013-03-07 04:25:10 +01:00
|
|
|
# Created by: Will Andrews <andrews@technologist.com>
|
2002-05-24 14:01:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wmanager
|
2002-10-28 00:45:47 +01:00
|
|
|
PORTVERSION= 0.2.1
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 13
|
2002-05-24 14:01:03 +02:00
|
|
|
CATEGORIES= x11-wm
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= DEBIAN_POOL
|
2003-11-03 22:14:21 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2013-10-23 22:45:10 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= X11 window manager selector
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2016-11-08 10:00:13 +01:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2003-11-03 22:14:21 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2014-02-24 14:15:55 +01:00
|
|
|
USES= gmake
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xext
|
|
|
|
USE_GL= gl
|
2002-05-24 14:01:03 +02:00
|
|
|
|
2016-11-08 10:00:13 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2014-02-24 14:15:55 +01:00
|
|
|
OPTIONS_DEFINE= ADDONS DOCS EXAMPLES
|
2012-06-10 18:27:38 +02:00
|
|
|
OPTIONS_DEFAULT=ADDONS
|
2014-02-24 14:15:55 +01:00
|
|
|
OPTIONS_SUB= yes
|
2008-05-24 18:15:52 +02:00
|
|
|
|
2016-11-08 10:00:13 +01:00
|
|
|
ADDONS_DESC= Install the helper scripts and manpages
|
|
|
|
ADDONS_RUN_DEPENDS= wmanager-loop:x11-wm/wmanager-addons
|
2008-05-24 18:15:52 +02:00
|
|
|
|
2002-05-24 14:01:03 +02:00
|
|
|
do-install:
|
2014-02-24 14:15:55 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${STAGEDIR}${PREFIX}/bin
|
2016-11-08 10:00:13 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-02-24 14:15:55 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2002-05-24 14:01:03 +02:00
|
|
|
.for file in FAQ HISTORY INSTALL NEWS README TODO
|
2014-02-24 14:15:55 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
2002-05-24 14:01:03 +02:00
|
|
|
.endfor
|
2016-11-08 10:00:13 +01:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
2014-02-24 14:15:55 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${STAGEDIR}${EXAMPLESDIR}/wmanagerrc_sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.xinitrc ${STAGEDIR}${EXAMPLESDIR}/xinitrc_sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|