c0afe7440c
pkgsrc changes ============== Bind this package with databases/sqlite3 to get immediate updates along with the sqlite3 package. Set new versioning policy and concatenate versions of lemon and sqlite3. The reasoning for it is as follows: - currently lemon is an integral part of sqlite3 - lemon has its own conservative versioning regardless of changes in its code - leave room for possible standalone lemon package with bumped versions - reflect reality and make it human readable without checking the sources Set LICENSE to public-domain. Install documentation in the HTML format. Compile with LDFLAGS set. Finally don't use databases/sqlite3/Makefile.common as lemon is not distributed in the same archive. Make use of Makefile.version that does the same job of tracking upstream. Do not set PKGCONFIG_OVERRIDE in Makefile.common, it is not accessible in sqlite3-tcl. Upstream changelog ================== Changes are unknown, but at least the program acquired a -T command line option used by brlcad.
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2016/10/22 00:18:39 kamil Exp $
|
|
|
|
.include "../../databases/sqlite3/Makefile.version"
|
|
|
|
LEMON_VERSION= 1.0
|
|
|
|
# Concatenate versions of lemon and sqlite3
|
|
# The reasoning for it is as follows:
|
|
# - currently lemon is an integral part of sqlite3
|
|
# - lemon has its own conservative versioning regardless of changes in its code
|
|
# - leave room for possible standalone lemon package with bumped versions
|
|
# - reflect reality and make it human readable without checking the sources
|
|
|
|
PKGNAME= lemon-${LEMON_VERSION}.${SQLITE3_VERSION}
|
|
DISTNAME= sqlite-src-${SQLITE3_DISTVERSION}
|
|
CATEGORIES= devel
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= airhead@users.sf.net
|
|
HOMEPAGE= http://www.hwaci.com/sw/lemon/
|
|
COMMENT= Simple LALR(1) parser generator
|
|
LICENSE= public-domain
|
|
|
|
INSTALLATION_DIRS= bin share/lemon share/doc/lemon
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= lemon.c
|
|
SUBST_SED.paths+= -e 's,"lempar.c","${PREFIX}/share/lemon/lempar.c",g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/tool && ${CC} ${CFLAGS} ${LDFLAGS} lemon.c -o lemon
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tool/lemon ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/tool/lempar.c ${DESTDIR}${PREFIX}/share/lemon
|
|
${INSTALL_DATA} ${WRKSRC}/doc/lemon.html ${DESTDIR}${PREFIX}/share/doc/lemon
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|