2012-09-20 19:51:18 +02:00
|
|
|
# Created by: trevor
|
2003-08-22 12:47:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pawm
|
2010-11-30 01:53:47 +01:00
|
|
|
PORTVERSION= 2.3.0
|
2003-08-22 12:47:57 +02:00
|
|
|
CATEGORIES= x11-wm
|
2006-09-11 23:52:08 +02:00
|
|
|
MASTER_SITES= http://www.pleyades.net/pawm/files/
|
2003-08-22 12:47:57 +02:00
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-08-22 12:47:57 +02:00
|
|
|
COMMENT= The Puto Amo Window Manager
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2010-11-30 01:53:47 +01:00
|
|
|
USE_XORG= x11 xft xrandr xrender xpm
|
2013-03-22 21:06:14 +01:00
|
|
|
USES= cmake
|
2010-11-30 01:53:47 +01:00
|
|
|
CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \
|
|
|
|
-DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib"
|
2006-03-16 11:32:54 +01:00
|
|
|
|
|
|
|
.if defined(WITH_SN)
|
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
CFLAGS+= -DENABLE_STARTUP -DSN_API_NOT_YET_FROZEN \
|
2010-11-30 01:53:47 +01:00
|
|
|
`pkg-config --cflags --libs libstartup-notification-1.0`
|
2006-03-16 11:32:54 +01:00
|
|
|
.endif
|
|
|
|
|
2010-11-30 01:53:47 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/"\/etc"/s|^|#| ; \
|
|
|
|
/"-O2"/s|^|#| ; \
|
|
|
|
/LINK_DIRECTORIES/s|\.|| ; \
|
|
|
|
/INSTALL/s| /etc| etc|' ${WRKSRC}/CMakeLists.txt
|
2006-03-16 11:32:54 +01:00
|
|
|
|
2010-11-30 01:53:47 +01:00
|
|
|
post-install:
|
2003-08-22 12:47:57 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-03-16 11:32:54 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2010-11-30 01:53:47 +01:00
|
|
|
.for ii in AUTHORS Changelog.old GPL INSTALL README TODO
|
2003-08-22 12:47:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2010-11-30 01:53:47 +01:00
|
|
|
.include <bsd.port.mk>
|