aboutsummaryrefslogtreecommitdiff
path: root/textproc/bibutils
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 00:03:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 00:03:51 +0000
commit005071a063d80b0b3365ca212399876ea3a2361c (patch)
tree4b7f7b88d3de8b518ba048a5eff4bfd091c74416 /textproc/bibutils
parent18bc365f51a1a0bae2df36720bd7c0925f1ccf08 (diff)
downloadports-005071a063d80b0b3365ca212399876ea3a2361c.tar.gz
ports-005071a063d80b0b3365ca212399876ea3a2361c.zip
- Convert to staging
- pet portlint - add license - convert patches to makepatch naming Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=341143
Diffstat (limited to 'textproc/bibutils')
-rw-r--r--textproc/bibutils/Makefile11
-rw-r--r--textproc/bibutils/files/patch-Makefile_start11
-rw-r--r--textproc/bibutils/files/patch-configure4
3 files changed, 16 insertions, 10 deletions
diff --git a/textproc/bibutils/Makefile b/textproc/bibutils/Makefile
index 732a05815333..9163be2f0205 100644
--- a/textproc/bibutils/Makefile
+++ b/textproc/bibutils/Makefile
@@ -4,7 +4,6 @@ PORTNAME= bibutils
PORTVERSION= 5.0
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/
-
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
EXTRACT_SUFX= .tgz
@@ -13,13 +12,11 @@ COMMENT= Program set interconverts between various bibliography formats
LICENSE= GPLv2
-USE_GMAKE= yes
+USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
-NO_STAGE= yes
-do-configure:
- @cd ${WRKSRC} && ./configure --install-dir ${PREFIX}/bin
+HAS_CONFIGURE= yes
test: all
cd ${WRKSRC}/test && ${GMAKE} all test
@@ -28,8 +25,6 @@ BINARIES= bib2xml biblatex2xml copac2xml ebi2xml end2xml endx2xml \
isi2xml med2xml modsclean ris2xml wordbib2xml xml2ads \
xml2bib xml2end xml2isi xml2ris xml2wordbib
-.for binary in ${BINARIES}
-PLIST_FILES+= bin/${binary}
-.endfor
+PLIST_FILES= ${BINARIES:S,^,bin/,}
.include <bsd.port.mk>
diff --git a/textproc/bibutils/files/patch-Makefile_start b/textproc/bibutils/files/patch-Makefile_start
new file mode 100644
index 000000000000..244e7411949f
--- /dev/null
+++ b/textproc/bibutils/files/patch-Makefile_start
@@ -0,0 +1,11 @@
+--- ./Makefile_start.orig 2014-01-25 23:16:40.000000000 +0000
++++ ./Makefile_start 2014-01-25 23:19:20.000000000 +0000
+@@ -75,7 +75,7 @@
+ $(MAKE) -C bin \
+ EXEEXT=$(EXEEXT) \
+ PROGSIN="$(PROGRAMS)" \
+- INSTALLDIR=$(INSTALLDIR) \
++ INSTALLDIR=$(DESTDIR)$(INSTALLDIR) \
+ install
+ sed 's/VERSION/${VERSION}/g' packageconfig_start > lib/bibutils.pc
+
diff --git a/textproc/bibutils/files/patch-configure b/textproc/bibutils/files/patch-configure
index c0b5f708301b..6fdb81b4579b 100644
--- a/textproc/bibutils/files/patch-configure
+++ b/textproc/bibutils/files/patch-configure
@@ -1,5 +1,5 @@
---- ./configure.orig 2013-05-28 07:21:47.000000000 +0200
-+++ ./configure 2013-06-03 01:00:10.000000000 +0200
+--- ./configure.orig 2013-05-28 05:21:47.000000000 +0000
++++ ./configure 2014-01-25 23:16:40.000000000 +0000
@@ -247,7 +247,7 @@
RANLIB='ranlib'
POSTFIX='_netbsd'