aboutsummaryrefslogtreecommitdiff
path: root/graphics/xli
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2000-04-17 10:40:25 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2000-04-17 10:40:25 +0000
commit4cfb010581f20069fa9205836ff273706ace27da (patch)
tree2bce9e80f59331f7d9be4f0d51805c8138ef0898 /graphics/xli
parent80d1178882655de5443d5a421337a818c5fe32e7 (diff)
downloadports-4cfb010581f20069fa9205836ff273706ace27da.tar.gz
ports-4cfb010581f20069fa9205836ff273706ace27da.zip
Fix use of LOCALBASE.
PR: ports/18017 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=27691
Diffstat (limited to 'graphics/xli')
-rw-r--r--graphics/xli/Makefile3
-rw-r--r--graphics/xli/files/patch-aa6
-rw-r--r--graphics/xli/pkg-descr4
3 files changed, 9 insertions, 4 deletions
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile
index d2e5cc3d8070..4eb4909d7faa 100644
--- a/graphics/xli/Makefile
+++ b/graphics/xli/Makefile
@@ -20,4 +20,7 @@ LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
USE_IMAKE= yes
MAN1= xli.1 xlito.1
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile
+
.include <bsd.port.mk>
diff --git a/graphics/xli/files/patch-aa b/graphics/xli/files/patch-aa
index 36b69c7956a6..ef60087f53fa 100644
--- a/graphics/xli/files/patch-aa
+++ b/graphics/xli/files/patch-aa
@@ -1,13 +1,13 @@
--- Imakefile-- Wed Feb 9 09:23:32 2000
-+++ Imakefile Thu Feb 10 18:38:21 2000
++++ Imakefile Thu Apr 13 00:59:16 2000
@@ -12,8 +12,8 @@
CCOPTIONS = -Aa -D_HPUX_SOURCE
#endif
-JPEG_INCLUDES =
-JPEG_LDFLAGS =
-+JPEG_INCLUDES = -I/usr/local/include
-+JPEG_LDFLAGS = -L/usr/local/lib
++JPEG_INCLUDES = -I%%LOCALBASE%%/include
++JPEG_LDFLAGS = -L%%LOCALBASE%%/lib
PNG_INCLUDES =
PNG_LDFLAGS =
diff --git a/graphics/xli/pkg-descr b/graphics/xli/pkg-descr
index 969e918f8838..ee1d58003c35 100644
--- a/graphics/xli/pkg-descr
+++ b/graphics/xli/pkg-descr
@@ -1,4 +1,4 @@
-xli, xsetbg and xsetbg (the last two are symlinks to the first one)
+xli, xlito and xsetbg (the last two are symlinks to the first one)
display images on X11.
xlito works with xloadimage to "mark" images. Take a look at the
@@ -7,5 +7,7 @@ xloadimage if it's not there but I didn't include it in the packing
list so it won't clobber an existing one if xloadimage is already
installed.
+WWW: http://pantransit.reptiles.org/prog/index.html#xli
+
- Satoshi
asami@cs.berkeley.edu