summaryrefslogtreecommitdiff
path: root/devel/newfile
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-11-03 13:32:14 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-11-03 13:32:14 +0000
commit2c844b2114ec0135ac757407b2729d101fba73f6 (patch)
treeb4d11be2d4f84701fb1d8c446864e86d37a7196e /devel/newfile
parentAdd MACHINE_ARCH to MAKE_ENV to try and stop stupid breakage on 5.x (diff)
- Unbreak by updating to 1.0.14:
- Do not try to regenerate already up-to-date docs - Removed unneeded BUILD_DEPENDS - Update FreeBSD port template to the current reality
Notes
Notes: svn path=/head/; revision=92961
Diffstat (limited to 'devel/newfile')
-rw-r--r--devel/newfile/Makefile22
-rw-r--r--devel/newfile/distinfo2
-rw-r--r--devel/newfile/pkg-plist25
3 files changed, 10 insertions, 39 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile
index 9a80eb788be4..530d30736bcd 100644
--- a/devel/newfile/Makefile
+++ b/devel/newfile/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= newfile
-PORTVERSION= 1.0.13
-PORTREVISION= 1
+PORTVERSION= 1.0.14
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,22 +14,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergei@FreeBSD.org
COMMENT= A tool for creating starter files in various languages
-BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
- rdoc:${PORTSDIR}/textproc/ruby-rdoc \
- pod2man:${PORTSDIR}/lang/perl5
-
-BROKEN= "Does not build on 4.x/Broken pkg-plist on 5.x, will be removed after Feb 2"
-
USE_RUBY= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
-.if !defined(NOPORTDOCS)
MAN1= newfile.1
-.else
-pre-configure:
- @${REINPLACE_CMD} -e 's@SUBDIRS = src doc data doc-src www@SUBDIRS = src data@g' \
- ${WRKSRC}/Makefile.in
+DOCS= doc/newfile.html
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/devel/newfile/distinfo b/devel/newfile/distinfo
index b8f2c0779d97..7bf583b09443 100644
--- a/devel/newfile/distinfo
+++ b/devel/newfile/distinfo
@@ -1 +1 @@
-MD5 (newfile-1.0.13.tar.gz) = fd17f14f369f5d640387c735c291d3e8
+MD5 (newfile-1.0.14.tar.gz) = 1e8fae7cdcdc1ebebfb3b47ad281d0cf
diff --git a/devel/newfile/pkg-plist b/devel/newfile/pkg-plist
index 94ae08d8ccd1..1b9bb23d6382 100644
--- a/devel/newfile/pkg-plist
+++ b/devel/newfile/pkg-plist
@@ -1,27 +1,6 @@
+@comment $FreeBSD$
bin/newfile
%%PORTDOCS%%%%DOCSDIR%%/newfile.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Cond.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileFinder.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileProcessor.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Installed.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/NewfileOpts.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/OptionError.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseError.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseMsg.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseWarning.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/SyTab.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc/classes
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/created.rid
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/fileproc_rb.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/newfile_rb.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/sytab_rb.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc/files
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_class_index.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_file_index.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_method_index.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/index.html
-%%PORTDOCS%%%%DOCSDIR%%/rdoc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%DATADIR%%/fileproc.rb
%%DATADIR%%/licenses/Artistic@Artistic
@@ -50,8 +29,6 @@ bin/newfile
%%DATADIR%%/projects/auto@doc^Makefile.am
%%DATADIR%%/projects/auto@src^Makefile.am
%%DATADIR%%/projects/port@Makefile
-%%DATADIR%%/projects/port@distinfo
-%%DATADIR%%/projects/port@pkg-comment
%%DATADIR%%/projects/port@pkg-descr
%%DATADIR%%/projects/port@pkg-plist
@dirrm %%DATADIR%%/projects