diff options
author | rafan <rafan@FreeBSD.org> | 2006-12-03 02:46:33 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-12-03 02:46:33 +0800 |
commit | 7de3e0f9457a0755d91102b1802c52612ee9b2ec (patch) | |
tree | e4bb2a8d13cc5c47501fd1226a04379a87f9b931 /x11 | |
parent | 047d865ec1d45b767edf68b1734ea847c873d988 (diff) | |
download | freebsd-ports-gnome-7de3e0f9457a0755d91102b1802c52612ee9b2ec.tar.gz freebsd-ports-gnome-7de3e0f9457a0755d91102b1802c52612ee9b2ec.tar.zst freebsd-ports-gnome-7de3e0f9457a0755d91102b1802c52612ee9b2ec.zip |
- Respect X11BASE
Previous change does not work. One need to set XROOT = $(X11BASE)
- Use DOCSDIR
- No need to use 'install' target for LIB_DEPENDS
PR: ports/106217
Submitted by: rafan
Approved by: Jeremy Karlson <karlj000 at unbc.ca> (maintainer)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/wmmenu/Makefile | 2 | ||||
-rw-r--r-- | x11/wmmenu/files/patch-Makefile | 22 | ||||
-rw-r--r-- | x11/wmmenu/pkg-plist | 8 |
3 files changed, 21 insertions, 11 deletions
diff --git a/x11/wmmenu/Makefile b/x11/wmmenu/Makefile index 1570dc44f12b..3bdd02519f4e 100644 --- a/x11/wmmenu/Makefile +++ b/x11/wmmenu/Makefile @@ -14,7 +14,7 @@ MASTER_SITES= http://www.fcoutant.freesurf.fr/download/ MAINTAINER= karlj000@unbc.ca COMMENT= A popup menu of icons that launch programs for the WindowMaker dock -LIB_DEPENDS= dockapp.2:${PORTSDIR}/x11-wm/libdockapp:install +LIB_DEPENDS= dockapp.2:${PORTSDIR}/x11-wm/libdockapp WRKSRC= ${WRKDIR}/${PORTNAME} USE_X_PREFIX= yes diff --git a/x11/wmmenu/files/patch-Makefile b/x11/wmmenu/files/patch-Makefile index c4905185ae82..f73cdcbc762e 100644 --- a/x11/wmmenu/files/patch-Makefile +++ b/x11/wmmenu/files/patch-Makefile @@ -1,8 +1,18 @@ ---- Makefile.orig Mon Nov 27 22:50:17 2006 -+++ Makefile Mon Nov 27 23:00:33 2006 -@@ -1,4 +1,4 @@ --prefix = /usr/local -+prefix = $(PREFIX) +--- Makefile.orig Sat Dec 2 22:42:40 2006 ++++ Makefile Sat Dec 2 22:43:21 2006 +@@ -1,3 +1,4 @@ ++PREFIX ?= /usr/local + prefix = $(PREFIX) BINDIR = $(prefix)/bin MANDIR = $(prefix)/man - ETCDIR = $(prefix)/etc +@@ -7,8 +8,8 @@ + GDKPIXBUF = 1 + #GDKPIXBUF2 = 1 + +-XROOT = /usr/X11R6 +-DAROOT = /usr/local ++XROOT = $(X11BASE) ++DAROOT = $(LOCALBASE) + + # If you want to use gdk-pixbuf, pass GDKPIXBUF=1 to make command + ifdef GDKPIXBUF diff --git a/x11/wmmenu/pkg-plist b/x11/wmmenu/pkg-plist index 82cc55867e39..d9862995df78 100644 --- a/x11/wmmenu/pkg-plist +++ b/x11/wmmenu/pkg-plist @@ -1,5 +1,5 @@ bin/wmmenu -%%PORTDOCS%%share/doc/wmmenu/apps.sample -%%PORTDOCS%%share/doc/wmmenu/defaults.sample -%%PORTDOCS%%share/doc/wmmenu/README -%%PORTDOCS%%@dirrm share/doc/wmmenu +%%PORTDOCS%%%%DOCSDIR%%/apps.sample +%%PORTDOCS%%%%DOCSDIR%%/defaults.sample +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |