Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= xmenu |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 3.4 |
6 |
CATEGORIES= x11 |
7 |
|
8 |
MAINTAINER= vulcan@wired.sh |
9 |
COMMENT= X11 menu utility |
10 |
|
11 |
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ |
12 |
libImlib2.so:graphics/imlib2 |
13 |
|
14 |
USES= compiler:c11 xorg |
15 |
USE_GITHUB= yes |
16 |
GH_ACCOUNT= phillbush |
17 |
USE_XORG= x11 xft |
18 |
|
19 |
MAKE_ARGS= FREETYPEINC="${LOCALBASE}/include/freetype2" \ |
20 |
MANPREFIX="${PREFIX}/man" \ |
21 |
PREFIX="${PREFIX}" |
22 |
|
23 |
PLIST_FILES= bin/${PORTNAME} \ |
24 |
man/man1/${PORTNAME}.1.gz |
25 |
PORTDOCS= README |
26 |
PORTEXAMPLES= icons/* xmenu.sh |
27 |
|
28 |
OPTIONS_DEFINE= DOCS EXAMPLES |
29 |
|
30 |
post-install-DOCS-on: |
31 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
32 |
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
33 |
|
34 |
post-install-EXAMPLES-on: |
35 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
36 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR} |
37 |
|
38 |
.include <bsd.port.mk> |