1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11/metalock/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

59 lines
1.2 KiB
Makefile

# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= metalock
PORTVERSION= 0.8.0
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= BERLIOS
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}_theme-Blue_Marble-1.3${EXTRACT_SUFX}
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Enhanced X11 screen locker
LICENSE= MIT
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/LICENSE
USES= tar:bzip2
USE_XORG= x11 xt xorgproto xext xpm
OPTIONS_DEFINE= IMLIB2 XFT ULTRAGETOPT
OPTIONS_DEFAULT= IMLIB2 XFT ULTRAGETOPT
ULTRAGETOPT_DESC= Use Ultragetopt
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
MAKE_ARGS= PREFIX="${LOCALBASE}" DEST_PREFIX="${PREFIX}" CC="${CC}"
.if ${PORT_OPTIONS:MULTRAGETOPT}
LIB_DEPENDS+= libultragetopt.so:devel/ultragetopt
MAKE_ARGS+= USE_ULTRAGETOPT=yes
.else
MAKE_ARGS+= USE_ULTRAGETOPT=no
.endif
.if ${PORT_OPTIONS:MIMLIB2}
LIB_DEPENDS+= libImlib2.so:graphics/imlib2
MAKE_ARGS+= USE_IMLIB2=yes
.else
MAKE_ARGS+= USE_IMLIB2=no
.endif
.if ${PORT_OPTIONS:MXFT}
USE_XORG+= xft
MAKE_ARGS+= USE_XFT=yes
.else
MAKE_ARGS+= USE_XFT=no
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}/src
post-extract:
${MKDIR} ${WRKDIR}/${DISTNAME}/themes
${CP} -pR ${WRKDIR}/Blue_Marble ${WRKDIR}/${DISTNAME}/themes/
.include <bsd.port.mk>