mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Switch to options helpers
- Switch to new test framework Approved by: portmgr blanket
This commit is contained in:
parent
73f65207a0
commit
a61b0bcf83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501568
1 changed files with 5 additions and 5 deletions
|
@ -70,16 +70,16 @@ post-extract:
|
|||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
||||
@${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
|
||||
.endif
|
||||
|
||||
check regression-test test: build
|
||||
do-test:
|
||||
@${CC} ${CFLAGS} -o ${WRKSRC}/ex1 ${WRKSRC}/ex1.c ${WRKSRC}/lib${LIB}.a
|
||||
@${WRKSRC}/ex1
|
||||
@${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/ex1s ${WRKSRC}/ex1.c -L${WRKSRC} -l${LIB}
|
||||
|
|
Loading…
Add table
Reference in a new issue