1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11/xbanner/Makefile
2000-04-13 19:19:05 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: xbanner
# Date created: 13 Jan 1999
# Whom: giffunip@asme.org
#
# $FreeBSD$
#
PORTNAME= xbanner
PORTVERSION= 1.31
CATEGORIES= x11
MASTER_SITES= ftp://ftp.digital.com/pub/linux/XBanner/ \
ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/xutils
DISTNAME= XBanner${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
#USE_IMAKE= yes
post-patch:
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/xres.c
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/samples/XBanner.ad
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \
${PREFIX}/lib/X11/app-defaults/XBanner
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner
@${MKDIR} ${PREFIX}/share/examples/XBanner
${INSTALL_DATA} ${WRKSRC}/samples/_other_ideas/* \
${PREFIX}/share/examples/XBanner
.endif
.include <bsd.port.mk>