d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: buttonbox
|
|
# Date created: 2000-12-17
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= buttonbox
|
|
PORTVERSION= 0.03
|
|
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_X_PREFIX= yes
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o buttonbox -L${X11BASE}/lib \
|
|
-I${X11BASE}/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 ${X11BASE}/lib/X11/app-defaults/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/buttonbox ${X11BASE}/bin/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
for i in ${DOCS}; \
|
|
do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \
|
|
done
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|