mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
ac8274b67c
- 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>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: xbanner
|
|
# Version required: 1.31
|
|
# Date created: 13 Jan 1999
|
|
# Whom: giffunip@asme.org
|
|
#
|
|
# $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
|
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
|
|
|
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 \
|
|
$(X11BASE)/lib/X11/app-defaults/XBanner
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/XBanner
|
|
$(CP) ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner
|
|
${CP} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner
|
|
${MKDIR} ${PREFIX}/share/examples/XBanner
|
|
$(CP) ${WRKSRC}/samples/_other_ideas/* ${PREFIX}/share/examples/XBanner
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|