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