freebsd-ports/x11/bricons/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: bricons
# Date created: 31 Jul 1996
# Whom: shanee@augusta.de
#
1999-08-31 04:51:23 +02:00
# $FreeBSD$
#
2000-04-13 21:19:05 +02:00
PORTNAME= bricons
PORTVERSION= 3.0
DISTVERSIONPREFIX= athena-
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= XCONTRIB/../R5contrib
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
2003-02-21 15:08:24 +01:00
COMMENT= Quick start up utility for applications on an X display
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PERL5_BUILD=yes
USE_XORG= xaw
USE_IMAKE= yes
MAKE_JOBS_SAFE= yes
MAN1= bricons.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Xbricons
@${REINPLACE_CMD} -e \
's|^unsigned int argc|int argc|' ${WRKSRC}/main.c
post-install:
${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults
${MKDIR} ${PREFIX}/include/X11/bitmaps
${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps
${MKDIR} ${PREFIX}/include/X11/pixmaps
${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps
@${ECHO_MSG} ""
@${ECHO_MSG} " Use ./files/DOTbriconsrc as an example. This file"
@${ECHO_MSG} " should be stored in the same directory as the"
@${ECHO_MSG} " program is executed from."
@${ECHO_MSG} ""
.include <bsd.port.post.mk>