aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-01-15 00:00:35 +0800
committermva <mva@FreeBSD.org>2013-01-15 00:00:35 +0800
commit76658d4f5ce2b1640eb8681712d3af9d169242a3 (patch)
treecc754a097cd3cce7aeaef79f02913fd58fece809
parent09e4b8a18d9c5f3da189e538c13f4fc62dca6e6a (diff)
downloadfreebsd-ports-gnome-76658d4f5ce2b1640eb8681712d3af9d169242a3.tar.gz
freebsd-ports-gnome-76658d4f5ce2b1640eb8681712d3af9d169242a3.tar.zst
freebsd-ports-gnome-76658d4f5ce2b1640eb8681712d3af9d169242a3.zip
- Update to 1.7.2
- Trim Makefile headers - Add LICENSE PR: ports/175021 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--textproc/align/Makefile27
-rw-r--r--textproc/align/distinfo4
-rw-r--r--textproc/align/pkg-plist2
3 files changed, 19 insertions, 14 deletions
diff --git a/textproc/align/Makefile b/textproc/align/Makefile
index 353c3dfc6b4e..3ad86369dd73 100644
--- a/textproc/align/Makefile
+++ b/textproc/align/Makefile
@@ -1,13 +1,8 @@
-# ex:ts=8
-# New ports collection makefile for: align
-# Date created: Oct 30, 2001
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= align
-PORTVERSION= 1.7.1
+PORTVERSION= 1.7.2
CATEGORIES= textproc
MASTER_SITES= http://www.cs.indiana.edu/~kinzler/align/
EXTRACT_SUFX= .tgz
@@ -15,10 +10,22 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Text column alignment filter
-USE_PERL5= yes
+LICENSE= GPLv2 # (or later)
+
+NO_BUILD= yes
+
+USE_PERL5_RUN= yes
+
+PLIST_FILES= bin/align bin/width
post-patch:
- ${REINPLACE_CMD} -e 's|/usr/local/bin|${PREFIX}/bin|g' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/*
+.for i in align width
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${i}
+.endfor
+
+do-install:
+.for i in align width
+ (cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${PREFIX}/bin)
+.endfor
.include <bsd.port.mk>
diff --git a/textproc/align/distinfo b/textproc/align/distinfo
index 31151ce86458..d43a0d3c964d 100644
--- a/textproc/align/distinfo
+++ b/textproc/align/distinfo
@@ -1,2 +1,2 @@
-SHA256 (align-1.7.1.tgz) = c954035517012c48acd84f2ffc951b727c36df4dd09feb405169ebd77c2eb28f
-SIZE (align-1.7.1.tgz) = 12047
+SHA256 (align-1.7.2.tgz) = 69a81c49c9074f90c12f589d260c62e21320315de0ae2c16af0d50da8c022150
+SIZE (align-1.7.2.tgz) = 12133
diff --git a/textproc/align/pkg-plist b/textproc/align/pkg-plist
deleted file mode 100644
index 5f1ea9db24ab..000000000000
--- a/textproc/align/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/align
-bin/width