pkgsrc/devel/slib/Makefile
jlam 741aecb607 * Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead.

* Properly account for split info files during installation.

* Move info file listings directly into the package PLISTs.

This fixes info-file-related PLIST problems.
2006-03-20 18:15:37 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2006/03/20 18:15:38 jlam Exp $
DISTNAME= slib3a2
#
# Convert the version number as follows 2d2 -> 2.4.2, where the d is
# changed to a 4, representing the 4th letter.
# Thus, 3a1 -> 3.1.1
#
# Also update guile-slib
#
PKGNAME= slib-3.1.2
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ \
${MASTER_SITE_GNU:=jacal/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
COMMENT= Portable Scheme library of compatibility and utility functions
WRKSRC= ${WRKDIR}/slib
NO_CONFIGURE= yes
NO_BUILD= yes
SLIBDIR= ${PREFIX}/share/slib
DOCDIR= ${PREFIX}/share/doc/slib
INFO_FILES= # PLIST
INSTALLATION_DIRS= ${PKGINFODIR}
do-install:
${INSTALL_DATA_DIR} ${SLIBDIR}
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${SLIBDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DOCDIR}
cd ${WRKSRC}; for f in slib.info slib.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
done
.include "../../mk/bsd.pkg.mk"