freebsd-ports/x11/3ddesktop/Makefile
Martin Wilke b9ce2cf47b - Add missing dependency
Reported by:	pkg (DEV_MODE)
2013-06-14 11:58:35 +00:00

45 lines
1 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= 3ddesktop
PORTVERSION= 0.2.9
PORTREVISION= 10
CATEGORIES= x11
MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D Virtual Desktop Switcher
USE_XORG= xmu
USE_GL= glut
USE_EFL= imlib2
GNU_CONFIGURE= yes
MAN1= 3ddesk.1 3ddeskd.1
PORTDOCS= README README.windowmanagers
PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \
%%DATADIR%%/digits.bmp
PLIST_DIRS= %%DATADIR%%
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.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:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in README README.windowmanagers
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>