1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11/3ddesktop/Makefile
Grzegorz Blach a781a6e13c - Remove Mk/bsd.efl.mk
- Convert USE_EFL=libtool_hack to USES=libtool
- Convert USE_EFL=imlib2 to LIB_DEPENDS=libImlib2.so:...
- Bump PORTVERSION in graphics/imlib2 and in all ports
  which depends on imlib2

PR:		196062
Approved by:	portmgr
2014-12-27 00:09:02 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= 3ddesktop
PORTVERSION= 0.2.9
PORTREVISION= 13
CATEGORIES= x11
MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D Virtual Desktop Switcher
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
USE_XORG= xmu
USE_GL= glut
GNU_CONFIGURE= yes
PORTDOCS= README README.windowmanagers
PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \
%%DATADIR%%/digits.bmp \
man/man1/3ddesk.1.gz man/man1/3ddeskd.1.gz
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -pthread
LDFLAGS+= -L${LOCALBASE}/lib -pthread
.include <bsd.port.options.mk>
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-O3||g ; \
s|@ACLOCAL@|${TRUE}|g ; \
s|@AUTOCONF@|${TRUE}|g ; \
s|@AUTOHEADER@|${TRUE}|g ; \
s|@AUTOMAKE@|${TRUE}|g'
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README README.windowmanagers
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>