blob: 3a5dded2e823fd7c020f21ec8daf64c8f91fae05 (
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
|
PORTNAME= dzen
PORTVERSION= 0.9.5
CATEGORIES= x11
PKGNAMESUFFIX= 2
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= General purpose messaging, notification and menuing program for X11
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= robm
GH_TAGNAME= 488ab66
USES= pkgconfig xorg
USE_XORG= x11
OPTIONS_DEFINE= EXAMPLES GADGETS XPM XINERAMA XFT
OPTIONS_DEFAULT= XPM XFT XINERAMA
GADGETS_DESC=Build and install gadgets
OPTIONS_SUB=yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
GADGETS_ALL_TARGET=all gadgets
GADGETS_INSTALL_TARGET=install install-gadgets
XPM_USE= XORG=xpm
XPM_CFLAGS= -DDZEN_XPM
XPM_LDFLAGS= -lXpm
XINERAMA_USE= XORG=xinerama
XINERAMA_LDFLAGS= -lXinerama
XINERAMA_CFLAGS= -DDZEN_XINERAMA
XFT_CFLAGS= -DDZEN_XFT -I${LOCALBASE}/include/freetype2
XFT_USE= XORG=xft
MAKE_ARGS+= LDFLAGS="${LDFLAGS} \$${LIBS}" \
CFLAGS="${CFLAGS} ${INCS} -DVERSION=\\\"\$${VERSION}\\\""
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/README.dzen ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/gadgets/README.* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/gadgets/*.sh ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|