Commit graph

59 commits

Author SHA1 Message Date
rillig
4ffc250c2c Added another form of sourceforge.net download URLs, as requested by
wiz.
2007-02-22 12:05:34 +00:00
rillig
e312114c7f Updated url2pkg to 2.4.
Changes since 2.3:
- When more than one directory exists in WRKDIR after extracting the
  distfile, a helpful comment is added to the generated Makefile.
2007-02-22 08:21:52 +00:00
rillig
472c69388c Updated url2pkg to 2.3.
Changes since 2.2:
- Detect more sourceforge download URLs.
- wrksrc_files and wrksrc_dirs are looked for in WRKSRC, not in WRKDIR.
- When the URL is being read in and an EOF occurs, the program exits.
2007-01-12 21:35:52 +00:00
rillig
ae41f12b9e Updated url2pkg to 2.2.
Reduced the number of external calls to find(1).
2006-12-06 01:00:41 +00:00
rillig
26d41e536c Updated url2pkg to 2.1.
Changes since 2.0:

- Made the dependency detection for Perl modules work again. The code
  does not assume to be run in a special directory anymore.

- Perl modules that use the prompt() function to query the user
  interactively can be handled. All questions are assumed to be answered
  by just pressing <enter>.

- Made url2pkg more robust when interpreting the output of MakeMaker.pm.
  Many Perl modules write additional things to stdout during the
  generation of the Makefile.

- The language for the *.f files is "fortran", not "f".

- Fixed the regular expression for prdownloads.sourceforge.net links, so
  that the distfile name is properly extracted.
2006-10-02 19:39:24 +00:00
rillig
19beef2685 Took over maintainership from Hubert.
Rewrote url2pkg in Perl, enhancing it in several ways:

- Packages for Perl modules using MakeMaker can be generated almost
  completely. The only thing that usually needs to be filled out after
  running url2pkg is the DESCR file.

- USE_LANGUAGES is filled automatically.

- After generating the initial Makefile, the editor is run to let the
  user edit the Makefile. These changes are preserved as much as
  possible. (This had not been the case before.)

- Extending url2pkg has been made much easier by splitting the tasks that
  do the "magic" into small subroutines and by adding a detailed
  description of what these routines are supposed to do.

Set the version number to 2.0.
2006-10-02 16:49:30 +00:00
rillig
c8293c56a2 Removed a leading "e". 2006-10-01 15:09:05 +00:00
reed
ca6f7bd78c Update for change of location of sites.mk. 2006-06-12 17:02:23 +00:00
xtraeme
391437abe6 Fix false positives about the test that checks for pkg-config files
in WRKSRC. Now it works properly.

Bump to 1.33.
2006-01-25 05:10:00 +00:00
xtraeme
a429287789 Remove GNU Autoconf's configure.lineno file if it's there. 2006-01-05 17:42:24 +00:00
xtraeme
40bf851429 Move the PKGCONFIG_OVERRIDE lines after USE_TOOLS, GNU_CONFIGURE, etc. 2006-01-05 17:32:50 +00:00
xtraeme
6c95a6da67 Update to 1.32:
* Don't use ${WRKSRC} for PKGCONFIG_OVERRIDE (it's assigned automatically)
* If there are pkg-config files, now it will add "USE_TOOLS+= pkg-config".
2006-01-05 17:26:54 +00:00
rh
5724f633ed Update url2pkg to 1.31. This reinstates correct handling of
"prdownloads.sourceforge.net" URLs.
2005-10-18 21:10:28 +00:00
wiz
7810313db3 1.30:
Unbreak url2pkg on sourceforge hosted packages -- the MASTER_SITES
did not contain the trailing slash, thus breaking the download.

XXX: prdownloads.sf.net is not recognized as a sourceforge "mirror"
since the previous version of url2pkg.
2005-10-03 19:54:10 +00:00
hubertf
cd5fa34ef1 Update url2pkg to 1.29. Change:
Patch by pancake <pancake@phreaker.net> that permits url2pkg to scan
bsd.sites.mk and recreate the MASTER_SITE string. He has tested a bit
against GNU, GNOME, SOURCEFORGE master sites, and seems to do the things
fine.
2005-09-04 20:02:55 +00:00
wiz
73b1f62fd4 Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:14:02 +00:00
tv
da33fdafbb Remove autogenerated USE_BUILDLINK3 line. 1.28. 2005-04-11 19:02:07 +00:00
wiz
c4e778ff43 1.27: Do not add LIBTOOL_OVERRIDE to Makefiles by default -- the pkgsrc
default is usable for nearly all cases.
2005-03-21 22:33:05 +00:00
tv
8ba62ddd77 1.26: Automatically detect if a package is using libltdl, and if so, include
../../devel/libltdl/convenience.mk to make it more cross-platform happy.
2004-11-05 17:38:51 +00:00
rh
9d4fdc97d6 Update url2pkg to 1.25. The only change is that this now sets
USE_BUILDLINK3 instead of USE_BUILDLINK2.
2004-04-11 00:48:51 +00:00
snj
e605029e68 It's "its" 2004-02-01 00:18:29 +00:00
cjep
e1bd9b7063 Respect ${MAKE} so that this works out of the box on non-NetBSD. 2003-07-25 09:24:59 +00:00
grant
7e82b59baa add some missing periods at the end of sentences
netbsd.org -> NetBSD.org
2003-07-13 06:57:37 +00:00
rh
6b665bbfbd Update url2pkg to 1.23. In this version, the SourceForge magic now works
with or without the '?use_mirror=.*' suffix.
2003-04-23 09:18:29 +00:00
rh
2e7a3139d6 Update url2pkg to 1.22. Notable changes include:
- conversion of prdownloads.sourceforge.net URLs to
	  MASTER_SITE_SOURCEFORGE
	- pre-fill CATEGORIES from the directory name
	- educated guess about the HOMEPAGE
2003-04-22 00:35:08 +00:00
rh
5bec9dd485 Update url2pkg to 1.21. Notable changes include:
- now sets USE_PKGLOCALEDIR if .mo or .gmo files are found
	- now recognizes GCONF schemas
	- no PKGCONFIG_OVERRIDE statements for -uninstalled .pc.in files
	- some minor code cleanup
2003-04-21 23:31:14 +00:00
rh
8a0b15f754 Update url2pkg to 1.20. Changes are:
- recognise newer GNU configure scripts
	- USE_BUILDLINK2
	- add support for PKGCONFIG_OVERRIDE
2002-10-30 03:33:56 +00:00
rh
be8282119e Update url2pkg to 1.19. This adds some basic libtool-detection mechanism
that will set USE_LIBTOOL accordingly.
2002-05-14 00:05:02 +00:00
heinz
0774788ce3 two small typos 2002-04-25 21:57:28 +00:00
hubertf
b979a2d548 Bump to 1.18:
Work around chicken-and-egg problem: 'make makesum' seems to need a
'distinfo' file these days.
2002-03-04 00:53:15 +00:00
hubertf
96c95aaca6 Bump to 1.17: properly recognize .tar.Z files
Patch sent by Amitai Schlair <schmonz@schmonz.com> in private mail.
2001-12-29 13:07:14 +00:00
wiz
b4f0a668fa Miscellaneous man page fixes. 2001-12-03 19:03:19 +00:00
zuntum
bb7f1484e0 o store pkgdir files (PLIST, DESCR and other) in . by default,
no need to use pkg/ for that purpose
o use ${PREFIX} instead of ${LOCALBASE} in do-install

Bump version to 1.16

OK'd by hubertf
2001-10-31 18:45:42 +00:00
hubertf
dddf50da0d fix typo, pointed out by zuntum 2001-04-09 14:51:47 +00:00
hubertf
c8aed1c1ba <FOO> => FOO, so it can be easier skipped with word forward/backward 2001-02-18 05:21:07 +00:00
wiz
1b7f0d246f Change COMMENT handling:
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT
file. The COMMENT var should be in the maintainer block after the
homepage.
Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested)
for the new behaviour. Document new state in Packages.txt.
This should save lots of inodes, and lots of time when untarring/updating.
Idea by Alistair Crooks.
For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid
a flag day.
2001-02-16 13:06:17 +00:00
manu
4a2f9bba6e Added a man page for url2pkg 2001-01-28 23:30:24 +00:00
hubertf
88b2f47c28 Find out about GNU_CONFIGURE (over HAS_CONFIGURE) properly. 2001-01-28 17:30:20 +00:00
wiz
ffee2ba255 s/USE_CONFIGURE/HAS_CONFIGURE/
bump version to 1.13.
2000-07-12 20:16:40 +00:00
wiz
062e544125 Create empty pkg/COMMENT and pkg/DESCR, so that `make install' doesn't
bomb out. (pkglint warns about empty files now, anyway.). Step to 1.12.
2000-06-22 00:13:41 +00:00
hubertf
c3cd51a21e url2pkg now lives in pkgsrc, updating via othersrc was too much
trouble. No functional changes.

(url2pkg was moved via repository copy)
2000-06-22 00:03:36 +00:00
hubertf
5c2c2392c2 Update to 1.11. Changes:
* allow different make(1) command by setting the MAKE env var
 * mention that pkg/COMMENT and pkg/DESCR must be filled
2000-06-21 22:45:35 +00:00
hubertf
07d10c9c35 * allow using a different make command by using the env-var "MAKE".
Patch submitted by Thomas Klausner in private mail.
 * Mention that the user has to create pkg/COMMENT and pkg/DESCR manually

This file should probably be moved to pkgsrc...
2000-06-21 22:43:17 +00:00
hubertf
6ad42bdce5 Update to 1.10. Changes:
* Properly recognize .tar.bz2 archives (Patch by Antti Kantee <pooka@iki.fi>)
 * Some old configure scripts don't understand --version and may nuke
   our just-generated Makefile. Prevent this by cd'ing into $WRKSRC.
2000-06-15 21:41:05 +00:00
hubertf
cb5dbb4eda Some old configure scripts don't understand --version and may nuke
our just-generated Makefile. prevent this by cd'ing into $WRKSRC.
2000-06-15 21:38:01 +00:00
hubertf
213ec41a79 Properly recognize .tar.bz2 archives.
Patch by Antti Kantee <pooka@iki.fi>
2000-04-03 12:52:28 +00:00
hubertf
f955b05eb4 Update to v1.8.
Changes: honours $PKGEDITOR and $EDITOR
2000-04-01 20:58:44 +00:00
hubertf
173a714566 Use $PKGEDITOR or $EDITOR
Requested by Martin Husemann <martin@rumolt.teuto.de>
2000-04-01 20:55:24 +00:00
hubertf
3ded8f6ec3 Update to 1.7. Changes:
- Bugfix from Matthias Drochner WRT handling of WRKSRC
 - url2pkg is now under CVS maintainance (othersrc/usr.bin/url2pkg), but
   since there's no gateway for that to ftp/http, esp. none without
   versioning), the old distribution site is kept.

   I still wanted to point this out. :-)
2000-01-06 02:07:45 +00:00
hubertf
ed32c43dcd protect some RCS IDs 2000-01-06 02:03:51 +00:00