summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
1998-01-23In the shell script to find an executable upon which this packageagc2-4/+6
depends, break out of the loop when you find one. Also print the name of the executable found.
1998-01-22Ignore the return code from rm when removing the ${WRKDIR} symbolicagc2-4/+4
link, when doing a "make clean" with WRKOBJDIR defined. From Thorsten Frueauf.
1998-01-22Add a MIRROR_DISTFILE variable; defaults to "yes", and should be setagc2-2/+28
to "no" in a package's Makefile when the authors have placed restrictions on the redistribution of the distfiles. (Thanks to Jason Thorpe for the idea). Add a `mirror' target, which will do a "make fetch" if the package's distfile is allowed to be redistributed. This is for use on sites which mirror package distfiles. (Thanks to Charles Hannum for the idea).
1998-01-16Fix comment for FETCH_CMD wrt non-NetBSD-systemshubertf2-4/+4
1998-01-15 - Our default for FETCH_CMD is ftp, not fetch.hubertf2-28/+56
- Document NO_IGNORE, __ARCH_OK - Make __ARCH_OK overridable, so it can be set to YES e.g. for fetching all distfiles. - Move ".ifndef(__ARCH_OK): block, so some targets like clean work in any case. - Add LOCALBASE and X11BASE to PATH in MAKE_ENV, CONFIGURE_ENV and SCRIPT_ENV; this fixes PR 4573
1998-01-15Move the inclusion of bsd.own.mk back to the correct place inagc2-22/+14
bsd.port.mk, but this time use a definition before the inclusion, which stops <bsd.own.mk> defining its own install target when using the package system. This makes the package system take notice of the definitions in /etc/mk.conf
1998-01-08Add lines so that "make readme" in the top level pkgsrc directory, oragc2-2/+8
one if the categories directories, will call "make readme" in any subdirectories. I thought that this was suggested by Chris Demetriou, but I can't find any PR backing this up. So my apologies to the person who did suggest this.
1997-12-29Add us to MASTER_SITE_LOCAL.hubertf2-2/+4
1997-12-27MACHINE_ARCH of pmax is "mips"hubertf2-6/+6
1997-12-21Fix up documentation (MASTER_SITE_SUBDIR, PATCH_SITE_SUBDIR,hubertf2-4/+14
MASTER_SITE_BACKUP).
1997-12-19Now that we have ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles,hubertf2-2/+4
add it to MASTER_SITE_BACKUP.
1997-12-13 - move definition of ARCH and OPSYS so it is even available ifhubertf2-18/+18
ONLY_FOR_ARCHS is set - Usage points to PLIST_SRC
1997-12-03do not depend on gmake being called gmake (pointed out by Matt Green)hubertf2-4/+4
1997-11-26Fix missing backslash when gzipping manual pages.agc2-6/+6
If we're going to go to the bother of defining LDCONFIG, we might as well use it.
1997-11-22We use perl 5.004_04 nowhubertf2-6/+6
1997-11-22Use MI/MD PLIST files pkg/PLIST-{mi,md-{shared,static}}hubertf2-24/+86
1997-11-21Remove the magic control characters in a similar way to Bill Fenner'sagc2-12/+42
patch for bsd.port.subdir.mk.
1997-11-21Modification by Bill Fenner which removes the embedded controlagc2-14/+28
characters, and avoids the wrong interpretation of magic HTML characters in DESCR files or categories. Forwarded to me by Chris Demetriou, and refers to PR 4341.
1997-11-19Eliminate a nasty and horrible kluge by using the BSD.x11.dist whenagc2-12/+2
checking the directory tree for an X11 package.
1997-11-17Don't set username to man on the */cat? directories, as that usernameagc1-23/+23
might not exist on NetBSD.
1997-11-17Add NetBSD RCS Id.agc1-0/+1
1997-11-17Initial import of FreeBSD's X11 mtree file.agc1-0/+286
1997-11-10Remove unneeded RCS Idhubertf2-4/+2
1997-11-08 - Not only add $CAT[1-9] to _CATLIST, but also $CAT[NL}hubertf2-6/+32
- Fixup documentation for CAT<sect>, CATPREFIX. (these two changes were accidentally committed to the 1.3 branch as revisions 1.13.2.3 and 1.13.2.4 before!)
1997-11-05Let make do the work:agc2-40/+34
+ set MAKE_PROGRAM variable in bsd.port.mk to either ${GMAKE} or ${MAKE}, and use it in do-build and do-install targets + if X11 package, and man pages are installed, add install.man to ${INSTALL_TARGET}, rather than using a separate command to do this. Also added CATn= blah.0, similar to MANn= blah.1, which installs pre-formatted man pages, like the ones imake produces.
1997-10-28When a package depends on an executable from another package,agc2-22/+20
bsd.port.mk would always find the executable (using which), even if there wasn't an executable in the $PATH. I've modified bsd.port.mk to look for the executable directly, and simplified the shell code somewhat in the process. There may be a lurking bug in shell exit status handling here. Noted by matthew green <mrg@madrugada.eterna.com.au> and Chris Demetriou <cgd@netbsd.org> (PR pkg/4337) but I was too stupid to realise what was happening. That, and a copy of gmake in /usr/local/bin.
1997-10-18 - don't clean out dependent packages (requested by thorpej)hubertf2-2/+12
- actually document the feature used above (NOCLEANDEPENDS) - put pkg/MESSAGE file into /var/db/pkg/XXX/+DISPLAY, if present (from FreeBSD)
1997-10-17Make sure the ${PREFIX} directory exists before invoking mtree.thorpej2-2/+8
1997-10-09s/sed/${SED}/gagc2-6/+12
Change <$ARCH> into bsd.port.mk's ${ARCH} value (uname -m) when constructing the derived PLIST, so that we can use packages on non-i386 NetBSD architectures and have the correct file names in the installed inventory.
1997-10-07Be correct about manpage compression by regarding MANZ and fixinghubertf2-32/+66
PLIST before applying. It is assumed that ports do install manpages uncompressed, if not they have to set MANCOMPRESSED. Upon that, the pages will be (un)compressed according to the setting of MANZ.
1997-10-03+ Move inclusion of bsd.own.mk to the end of bsd.port.mk.agc2-10/+32
<bsd.own.mk> defines its own `install' target if none is defined, which conflicts with the default one we define later on in bsd.port.mk. This may nuke any WRKOBJDIR definitions (which I have yet to encounter), but enables "make install" to work as expected. + Add temporary mtree file for any X11 packages (like xpm, jpeg etc), which require a default X11 tree. This will change when we get a NetBSD x11.dist mtree file. + Define SHAREOWN, SHAREGRP and SHAREMODE (in NetBSD) to be the same as DOCOWN, DOCGRP and DOCMODE respectively.
1997-10-01MACHINE -> MACHINE_ARCH, as pointed out by thorpej.hubertf2-10/+10
(Changed in ARCH_ONLY stuff as well as WRKDIR definition)
1997-09-28 - Move around .include <bsd.own.mk> so PORTSDIR gets set propperlyhubertf2-8/+20
- make 'make clean' DTRT when WRKOBJDIR is set
1997-09-28Forgot to include <bsd.own.mk> in last commithubertf2-6/+10
(from OpenBSD)
1997-09-28 - Add OpenBSD and FreeBSD Ids in the headerhubertf2-12/+174
- Changes from FreeBSD's V1.164: * Warn if mtree-file not found * On 'make reinstall' gets DEPENDS_TARGET set to 'reinstall' instead of 'install' - Changes from OpenBSD's V1.14: * Documentation and implementation for ONLY_FOR_ARCHS * Documentation and implementation for WRKOBJDIR * Documentation on HAVE_MOTIF and MOTIF_STATIC: set in /etc/mk.conf, not /etc/make.conf * Set NOMANCOMPRESS=no to still compress man-pages (should probably be set to 'yes') * DEF_UMASK=022 * add ${MACHINE} suffix to WRKDIR if OBJMACHINE is set * .include <bsd.own.mk>
1997-09-25/usr/pkg/src -> /usr/pkgsrc (per discussion w/ agc)thorpej4-10/+10
1997-08-20Don't assume we're on NetBSD when setting LOCALBASE i.e.agc2-4/+14
test the OSNAME first. Change the name of the mtree file to match NetBSD's.
1997-08-20Remove the uname=man lines as NetBSD doesn't seem to have a user calledagc1-22/+23
man. Add NetBSD RCS Id.
1997-08-20Import FreeBSD's etc/mtree/BSD.local.dist as etc/mtree/BSD.pkg.dist.agc1-0/+194
This is for use with the FreeBSD ports system.
1997-08-20Change a path for NetBSD. Our PORTSDIR is /usr/pkg/srcagc2-2/+4
1997-08-20Change paths for NetBSD. We have our PORTSDIR at /usr/pkg/src,agc2-10/+12
and our PREFIX is /usr/pkg.
1997-08-20Initial import of FreeBSD's ports makefiles.agc4-0/+3714