summaryrefslogtreecommitdiff
path: root/x11/xbanner/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-06 18:11:04 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-06 18:11:04 +0000
commitac8274b67c03a00b61eb003c4b3e8d617a1d092a (patch)
tree4abe3f4417dc3aa0c003f1ebfd975ec6a4daef31 /x11/xbanner/Makefile
parentAdd the gedit port and re-order the gnotepad+ port. (diff)
Fix the following problems with version 1.31 of the xbanner port.
- installing in libexec directory isn't useful - app-defaults file could only be found when XAPPLRESDIR enviroment variable is set -> patch in sourcefile is needed - some compiler warnings and gets usage is fixed - wrong usage of isnumber macro fixed PR: 11768 Submitted by: Lars Koeller <lkoeller@cc.fh-lippe.de>
Notes
Notes: svn path=/head/; revision=19275
Diffstat (limited to 'x11/xbanner/Makefile')
-rw-r--r--x11/xbanner/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile
index 8c8568994045..dbadb493b5e7 100644
--- a/x11/xbanner/Makefile
+++ b/x11/xbanner/Makefile
@@ -3,13 +3,14 @@
# Date created: 13 Jan 1999
# Whom: giffunip@asme.org
#
-# $Id: Makefile,v 1.1.1.1 1999/01/20 08:18:56 flathill Exp $
+# $Id: Makefile,v 1.2 1999/02/02 03:27:50 asami Exp $
#
DISTNAME= XBanner1.31
PKGNAME= xbanner-1.31
CATEGORIES= x11
MASTER_SITES= ftp://physics.fullerton.edu/pub/Linux/XBanner/ \
+ ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=X11/xutils
@@ -19,6 +20,10 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
#USE_IMAKE= yes
+post-patch:
+ ${MV} ${WRKSRC}/xres.c ${WRKSRC}/xres.c.input
+ ${SED} "s:%%X11BASE%%:${X11BASE}:" ${WRKSRC}/xres.c.input > ${WRKSRC}/xres.c
+ ${RM} -f ${WRKSRC}/xres.c.input
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \