freebsd-ports/x11/3ddesktop/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

44 lines
1009 B
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
PORTNAME= 3ddesktop
PORTVERSION= 0.2.9
PORTREVISION= 15
CATEGORIES= x11
MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D Virtual Desktop Switcher
LIB_DEPENDS= libImlib2.so:graphics/imlib2
USES= gl localbase xorg
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+= -DHAVE_DECL_GETOPT -pthread
LDFLAGS+= -pthread
OPTIONS_DEFINE= DOCS
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-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README README.windowmanagers
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>