diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:32 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:32 +0800 |
commit | 97559d1e124c97300b067c057e22d55b11ba1715 (patch) | |
tree | 0346530bfd07e1f1b5468929520233f7d278afd6 | |
parent | 115e0c59fc72820eff6216ca653f9b40ca30f197 (diff) | |
download | freebsd-ports-gnome-97559d1e124c97300b067c057e22d55b11ba1715.tar.gz freebsd-ports-gnome-97559d1e124c97300b067c057e22d55b11ba1715.tar.zst freebsd-ports-gnome-97559d1e124c97300b067c057e22d55b11ba1715.zip |
- Respect X11BASE
PR: ports/105893
Submitted by: trasz
-rw-r--r-- | print/wmlpq/files/patch-Makefile | 17 | ||||
-rw-r--r-- | print/wmlpq/pkg-plist | 4 |
2 files changed, 15 insertions, 6 deletions
diff --git a/print/wmlpq/files/patch-Makefile b/print/wmlpq/files/patch-Makefile index efff6dd31107..d3d25d19a2ba 100644 --- a/print/wmlpq/files/patch-Makefile +++ b/print/wmlpq/files/patch-Makefile @@ -1,11 +1,13 @@ ---- Makefile.orig Thu Jul 5 20:09:50 2001 -+++ Makefile Thu Jul 5 20:10:23 2001 +--- Makefile.orig Wed Mar 28 00:19:12 2001 ++++ Makefile Mon Nov 27 00:14:57 2006 @@ -1,13 +1,11 @@ -prefix= - CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include +-CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include ++CPPFLAGS = -I$(X11BASE)/include -I/usr/local/include LIBS = -lXpm -lX11 -ldockapp - LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib +-LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib -CFLAGS = -O2 -Wall ++LDFLAGS = -L$(X11BASE)/lib -L/usr/local/lib +CFLAGS += -Wall DFLAGS = -ggdb3 -Wall @@ -15,3 +17,10 @@ debug: wmlpq.c wmlpq-master.xpm cc $(DFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c +@@ -23,6 +21,3 @@ + cp -f wmlpq.1x /usr/local/man/man1/ + chmod 644 /usr/local/man/man1/wmlpq.1x + +-install-debian: wmlpq +- cp -f wmlpq $(prefix)/usr/X11R6/bin/ +- chmod 755 $(prefix)/usr/X11R6/bin/wmlpq diff --git a/print/wmlpq/pkg-plist b/print/wmlpq/pkg-plist index 6ad6a905b11e..26b451aa704d 100644 --- a/print/wmlpq/pkg-plist +++ b/print/wmlpq/pkg-plist @@ -1,6 +1,6 @@ bin/wmlpq -%%PORTDOCS%%share/doc/wmlpq/README +%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%share/examples/wmlpq/sample.wmlpqrc %%PORTDOCS%%share/examples/wmlpq/wmlpqrc %%PORTDOCS%%@dirrm share/examples/wmlpq -%%PORTDOCS%%@dirrm share/doc/wmlpq +%%PORTDOCS%%@dirrm %%DOCSDIR%% |