aboutsummaryrefslogtreecommitdiffstats
path: root/misc/boxes
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-12-03 06:55:57 +0800
committerjhale <jhale@FreeBSD.org>2012-12-03 06:55:57 +0800
commitb1d493cdf345b15b415e209c5f92533aa1ae7a21 (patch)
tree94c8c950ee8d5394af896bb7df4ef98793127ecb /misc/boxes
parentbdd0ed01eaa409b40585979c37fbd0073d673732 (diff)
downloadfreebsd-ports-gnome-b1d493cdf345b15b415e209c5f92533aa1ae7a21.tar.gz
freebsd-ports-gnome-b1d493cdf345b15b415e209c5f92533aa1ae7a21.tar.zst
freebsd-ports-gnome-b1d493cdf345b15b415e209c5f92533aa1ae7a21.zip
- Update to 1.1.1
- Update MASTER_SITES (SUNSITE has previous version...commented out for now) - Add LICENSE (GPLv2) - Add PORTDOCS - Trim Makefile header - Pass maintainership to submitter PR: ports/174038 Submitted by: nemysis <nemysis@gmx.ch> Feature safe: yes
Diffstat (limited to 'misc/boxes')
-rw-r--r--misc/boxes/Makefile37
-rw-r--r--misc/boxes/distinfo4
2 files changed, 25 insertions, 16 deletions
diff --git a/misc/boxes/Makefile b/misc/boxes/Makefile
index ea25a849927f..2762a3c053bb 100644
--- a/misc/boxes/Makefile
+++ b/misc/boxes/Makefile
@@ -1,33 +1,37 @@
-# New ports collection makefile for: boxes
-# Date created: 3 March 2000
-# Whom: Patrick Seal (patseal@hyperhost.net)
-#
+# Created by: Patrick Seal <patseal@hyperhost.net>
# $FreeBSD$
-#
PORTNAME= boxes
-PORTVERSION= 1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.1
CATEGORIES= misc
MASTER_SITES= http://boxes.thomasjensen.com/download/ \
- ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/text
+ http://fossies.org/unix/privat/
+# SUNSITE/utils/text
EXTRACT_SUFX= .src.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= nemysis@gmx.ch
COMMENT= Draws ASCII-art configurable boxes around text or code
-MAN1= boxes.1
+LICENSE= GPLv2
+
USE_GMAKE= yes
USE_BISON= build
ALL_TARGET= boxes
MAKE_ARGS= CC="${CC}" GLOBALCONF=${GLOBALCONF} CFLAGS="${CFLAGS} -ansi -I. -Iregexp"
GLOBALCONF= ${DATADIR}/boxes-config
-PLIST_FILES= bin/boxes share/boxes/boxes-config
-PLIST_DIRS= share/boxes
-do-configure:
+PLIST_FILES= bin/boxes \
+ ${DATADIR_REL}/boxes-config
+PLIST_DIRS= ${DATADIR_REL}
+
+MAN1= boxes.1
+
+PORTDOCS= README
+
+.include <bsd.port.options.mk>
+
+post-patch:
${RM} ${WRKSRC}/src/boxes.h ${WRKSRC}/doc/boxes.1
do-install:
@@ -36,4 +40,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/boxes-config ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/misc/boxes/distinfo b/misc/boxes/distinfo
index 1e23520aefcc..c872d4480937 100644
--- a/misc/boxes/distinfo
+++ b/misc/boxes/distinfo
@@ -1,2 +1,2 @@
-SHA256 (boxes-1.1.src.tar.gz) = c9f931fc9f8e0aeadb370518e3e66f1cbfa956ba7817bcb8f701630f70b711e3
-SIZE (boxes-1.1.src.tar.gz) = 138279
+SHA256 (boxes-1.1.1.src.tar.gz) = d8529840281618e75a4adf313f08291b89c8cf83928c2c1f4b0ddcd236fb2420
+SIZE (boxes-1.1.1.src.tar.gz) = 139140