blob: c2211f54f3b4c294b88b76b6ea6ac5bdac366706 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: metalock
# Date created: 21 March 2012
# Whom: Timothy Beyer <beyert@cs.ucr.edu>
#
# $FreeBSD$
#
PORTNAME= metalock
PORTVERSION= 0.8.0
CATEGORIES= x11
MASTER_SITES= BERLIOS GOOGLE_CODE
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
FETCH_ARGS= "-Fpr"
USE_BZIP2= yes
USE_XORG= x11 xt xproto xext xpm
OPTIONS= IMLIB2 "Use Imlib2" on \
XFT "Use Xft Fonts" on \
ULTRAGETOPT "Use Ultragetopt" on
.include <bsd.port.options.mk>
MAKE_ARGS= PREFIX="${LOCALBASE}" DEST_PREFIX="${PREFIX}" CC="${CC}"
.if !defined(WITHOUT_ULTRAGETOPT)
LIB_DEPENDS+= ultragetopt.0:${PORTSDIR}/devel/ultragetopt
MAKE_ARGS+= USE_ULTRAGETOPT=yes
.else
MAKE_ARGS+= USE_ULTRAGETOPT=no
.endif
.if !defined(WITHOUT_IMLIB2)
USE_EFL= imlib2
MAKE_ARGS+= USE_IMLIB2=yes
.else
MAKE_ARGS+= USE_IMLIB2=no
.endif
.if !defined(WITHOUT_XFT)
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>
|