mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Add LICENSE
- Fix installation of files of different types
This commit is contained in:
parent
fde3bcf30f
commit
5f25ad05aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388515
@ -3,13 +3,16 @@
|
||||
|
||||
PORTNAME= spl
|
||||
PORTVERSION= 1.2.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://shakespearelang.sourceforge.net/download/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Shakespeare programming language
|
||||
|
||||
LICENSE= GPLv2 # or later
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= bison gmake
|
||||
|
||||
ALL_EXAMPLES= Makefile fibonacci.spl fibonacci2.spl guess.spl hello.spl \
|
||||
@ -26,8 +29,10 @@ post-patch:
|
||||
-e 's,free(,//free(,g' ${WRKSRC}/makescanner.c
|
||||
|
||||
do-install:
|
||||
${TAR} -C ${WRKSRC}/spl -cf - . | ${TAR} -C ${STAGEDIR}${PREFIX} -xf -
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/spl/bin/spl2c ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/spl/include/spl.h ${STAGEDIR}${PREFIX}/include/
|
||||
${INSTALL_DATA} ${WRKSRC}/spl/lib/libspl.a ${STAGEDIR}${PREFIX}/lib/
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples && \
|
||||
${INSTALL_DATA} ${ALL_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
|
@ -4,4 +4,4 @@ main purpose of this language is to make the source code
|
||||
for programs written with it resemble a Shakespeare play.
|
||||
Yes, it's totally unnecessary, but also very fun.
|
||||
|
||||
WWW: http://shakespearelang.sourceforge.net
|
||||
WWW: http://shakespearelang.sourceforge.net/
|
||||
|
Loading…
Reference in New Issue
Block a user