mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
ccf08385e5
PR: 99654 Submitted by: chinsan <chinsan.tw@gmail.com> Approved by: maintainer, delphij (mentor, implicit)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: boxtools
|
|
# Date created: September 11, 2002
|
|
# Whom: Stijn Hoop <stijn@win.tue.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= boxtools
|
|
PORTVERSION= 0.70.1
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= blackboxwm
|
|
DISTNAME= blackbox-${PORTVERSION}
|
|
|
|
MAINTAINER= A.J.Caines@halplant.com
|
|
COMMENT= Style tools for the blackbox family of window managers
|
|
|
|
CONFLICTS= blackbox-0.[7-9]*
|
|
|
|
MAN1= bsetbg.1 bsetroot.1
|
|
PORTDOCS= README.bbtools README.bsetbg
|
|
PLIST_FILES= bin/bsetbg bin/bsetroot
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_ICONV= yes
|
|
USE_GCC= 3.3+
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's#PACKAGE=blackbox#PACKAGE=boxtools#' \
|
|
-e 's#-pedantic##' ${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/util/bsetbg ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/util/bsetroot ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/bsetbg.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/bsetroot.1 ${PREFIX}/man/man1
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|