1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11/buttonbox/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: buttonbox
# Date created: 2000-12-17
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= buttonbox
PORTVERSION= 0.03
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
DISTNAME= ${PORTNAME:S/b/B/g}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Xlib-based application launcher
DOCDIR= share/doc/${PORTNAME}
DOCS= COPYING ChangeLog DEDICATION README TODO
PLIST= ${WRKDIR}/pkg-plist
USE_XORG= x11 xext
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o buttonbox -L${LOCALBASE}/lib \
-I${LOCALBASE}/include -lX11 -lXext button.c configuration.c \
colour.c dispatcher.c main.c
pre-install:
${ECHO_CMD} bin/buttonbox > ${PLIST}
${ECHO_CMD} lib/X11/app-defaults/ButtonBox.ad >> ${PLIST}
.if !defined(NOPORTDOCS)
for i in ${DOCS}; \
do ${ECHO_CMD} ${DOCDIR}/$${i} >> ${PLIST}; \
done
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/ButtonBox.ad ${LOCALBASE}/lib/X11/app-defaults/
${INSTALL_PROGRAM} ${WRKSRC}/buttonbox ${LOCALBASE}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
for i in ${DOCS}; \
do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \
done
.endif
.include <bsd.port.mk>