diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-08-04 08:40:45 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-08-04 08:40:45 +0800 |
commit | f9d820980818e25749d2db7d6fa66b9a2537e572 (patch) | |
tree | 70cd616bcb8b9bb51c768e088b615f69bd7fcb60 /devel/lemon | |
parent | bd8b382ef69cbc3db243feaf99617457b383acbc (diff) | |
download | freebsd-ports-gnome-f9d820980818e25749d2db7d6fa66b9a2537e572.tar.gz freebsd-ports-gnome-f9d820980818e25749d2db7d6fa66b9a2537e572.tar.zst freebsd-ports-gnome-f9d820980818e25749d2db7d6fa66b9a2537e572.zip |
- Update to 1.69
- Some port improvements
- Pass maintainership to submitter
- Mirror the distfile
PR: 137312
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
Diffstat (limited to 'devel/lemon')
-rw-r--r-- | devel/lemon/Makefile | 21 | ||||
-rw-r--r-- | devel/lemon/distinfo | 6 | ||||
-rw-r--r-- | devel/lemon/pkg-plist | 4 |
3 files changed, 18 insertions, 13 deletions
diff --git a/devel/lemon/Makefile b/devel/lemon/Makefile index ec0e97f2141b..5a5a3a25638e 100644 --- a/devel/lemon/Makefile +++ b/devel/lemon/Makefile @@ -6,23 +6,28 @@ # PORTNAME= lemon -PORTVERSION= 1.39 +PORTVERSION= 1.69 CATEGORIES= devel -MASTER_SITES= http://people.FreeBSD.org/~seanc/ports/${PORTNAME}/ +MASTER_SITES= http://tx97.net/pub/distfiles/ \ + http://mirror.amdmi3.ru/distfiles/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= vmagerya@gmail.com COMMENT= An LALR(1) parser generator. Similar in function to yacc and bison USE_BZIP2= yes +post-patch: + ${REINPLACE_CMD} -e 's| = pathsearch(.*| = "${DATADIR}/lempar.c";|' \ + ${WRKSRC}/lemon.c + do-build: cd ${WRKSRC} && ${MAKE} PROG=lemon NOMAN=1 NO_MAN=1 \ - CFLAGS="-g ${CFLAGS} -DLEMPAR='\"${PREFIX}/share/lemon/lempar.c\"'" \ - -f /usr/share/mk/bsd.prog.mk + CFLAGS="-g ${CFLAGS}" \ + -f /usr/share/mk/bsd.prog.mk do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${MKDIR} ${PREFIX}/share/lemon - ${INSTALL_DATA} ${WRKSRC}/lempar.c ${PREFIX}/share/lemon/ + ${INSTALL_PROGRAM} ${WRKSRC}/lemon ${PREFIX}/bin/ + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lempar.c ${DATADIR}/ .include <bsd.port.mk> diff --git a/devel/lemon/distinfo b/devel/lemon/distinfo index 847d6305d0a6..eed6c93d60ad 100644 --- a/devel/lemon/distinfo +++ b/devel/lemon/distinfo @@ -1,3 +1,3 @@ -MD5 (lemon-1.39.tar.bz2) = f6d9ec11feb85fcbc254401796175908 -SHA256 (lemon-1.39.tar.bz2) = 22ea0766611dcfa33629a9d44c275e82c9060bcfd2a2662d0ff533d428b5b5dd -SIZE (lemon-1.39.tar.bz2) = 34417 +MD5 (lemon-1.69.tar.bz2) = 35aebc84c4f0e186aba1303bbef11a37 +SHA256 (lemon-1.69.tar.bz2) = bc7c1cae233b6af48f4b436ee900843106a15bdb1dc810bc463d8c6aad0dd916 +SIZE (lemon-1.69.tar.bz2) = 35895 diff --git a/devel/lemon/pkg-plist b/devel/lemon/pkg-plist index 3dc10ef91982..80d550df2f0a 100644 --- a/devel/lemon/pkg-plist +++ b/devel/lemon/pkg-plist @@ -1,3 +1,3 @@ bin/lemon -share/lemon/lempar.c -@dirrm share/lemon +%%DATADIR%%/lempar.c +@dirrm %%DATADIR%% |