53e103e210
Needed by guile-slib with guile20-2.0.12. Bump PKGREVISION.
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2016/09/15 14:02:08 wiz Exp $
|
|
|
|
DISTNAME= slib-3b5
|
|
#
|
|
# 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.2.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
|
|
COMMENT= Portable Scheme library of compatibility and utility functions
|
|
|
|
#LICENSE= TODO: many licenses, all either PD or acceptable, in theory
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
SLIBDIR= ${PREFIX}/share/slib
|
|
DOCDIR= ${PREFIX}/share/doc/slib
|
|
INFO_FILES= yes
|
|
|
|
INSTALLATION_DIRS= ${PKGINFODIR} share/slib share/doc/slib
|
|
|
|
SUBST_CLASSES+= scmpath
|
|
SUBST_STAGE.scmpath= post-patch
|
|
SUBST_FILES.scmpath= guile.init
|
|
SUBST_SED.scmpath= -e "s|/usr/share/slib|${PREFIX}/share/slib|"
|
|
|
|
do-install:
|
|
# symlink is a workaround for guile-slib with guile20-2.0.12
|
|
# remove when not needed any longer
|
|
cd ${DESTDIR}${SLIBDIR} && ${LN} -s . slib
|
|
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${DESTDIR}${SLIBDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC}; for f in slib.info slib.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|