- Add LICENSE
- Switch to options helpers
This commit is contained in:
parent
666abc5661
commit
c0477bf3ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412917
@ -12,6 +12,9 @@ DISTNAME= ${PORTNAME}_1.5
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Outputs LaTeX code for chemical reaction
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
|
||||
|
||||
@ -25,9 +28,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/chemeq ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/chemeq.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/chemeq.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/tests/,} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user