forked from Lainports/freebsd-ports
- Add LICENSE
- Silence patching - Switch to options helpers
This commit is contained in:
parent
0b8c59b678
commit
524a8e2f6a
1 changed files with 7 additions and 2 deletions
|
|
@ -9,6 +9,9 @@ MASTER_SITES= http://www.fourmilab.ch/atlast/download/${PORTVERSION}/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Autodesk Threaded Language Application System Toolkit
|
||||
|
||||
LICENSE= PD
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
|
|
@ -17,13 +20,15 @@ PORTDOCS= atlast.html atlast.pdf
|
|||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "/^COPTIONS = /s, = .*, = ${CFLAGS}, " \
|
||||
@${REINPLACE_CMD} -e "/^COPTIONS = /s, = .*, = ${CFLAGS}, " \
|
||||
-e "/^CC = /s,= .*, = ${CC}," \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue