From b1d493cdf345b15b415e209c5f92533aa1ae7a21 Mon Sep 17 00:00:00 2001 From: jhale Date: Sun, 2 Dec 2012 22:55:57 +0000 Subject: - 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 Feature safe: yes --- misc/boxes/Makefile | 37 +++++++++++++++++++++++-------------- misc/boxes/distinfo | 4 ++-- 2 files changed, 25 insertions(+), 16 deletions(-) (limited to 'misc') 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 # $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 + +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 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 -- cgit