Changeset View
Changeset View
Standalone View
Standalone View
security/libdecaf/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libdecaf | PORTNAME= libdecaf | ||||
PORTVERSION= 0.9.4 | PORTVERSION= 0.9.4 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= security | CATEGORIES= security | ||||
MASTER_SITES= SF/ed448goldilocks/ | MASTER_SITES= SF/ed448goldilocks/ | ||||
MAINTAINER= krion@FreeBSD.org | MAINTAINER= krion@FreeBSD.org | ||||
COMMENT= Implementation of elliptic curve cryptography | COMMENT= Implementation of elliptic curve cryptography | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||||
ONLY_FOR_ARCHS= amd64 | |||||
mat: Would be nice to have a _REASON for this, to help people understand what is broken exactly. | |||||
USES= gmake python:2.7 tar:tgz | USES= gmake python:2.7 tar:tgz | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CFLAGS+= -I${LOCALBASE}/include | |||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
matUnsubmitted Not Done Inline ActionsUSES=localbase:ldflags ? mat: ```
USES=localbase:ldflags
```
? | |||||
PLIST_FILES= bin/ristretto bin/shakesum \ | |||||
lib/libdecaf.so lib/libdecaf.so.1 | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|PYTHON ?= python|PYTHON ?= ${PYTHON_CMD}|g' \ | @${REINPLACE_CMD} -e 's|PYTHON ?= python|PYTHON ?= ${PYTHON_CMD}|g' \ | ||||
${WRKSRC}/Makefile | ${WRKSRC}/Makefile | ||||
do-install: | do-install: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/build/bin/* ${STAGEDIR}${PREFIX}/bin/ | ${INSTALL_PROGRAM} ${WRKSRC}/build/bin/* ${STAGEDIR}${PREFIX}/bin/ | ||||
${CP} -R ${WRKSRC}/src/GENERATED/include/* ${STAGEDIR}${PREFIX}/include/ | |||||
matUnsubmitted Not Done Inline ActionsNEVER, EVER, use CP to install files. Use one of the INSTALL_* or COPYTREE_* macros. Here, I think COPYTREE_SHARE would be appropriate. mat: NEVER, EVER, use CP to install files.
Use one of the INSTALL_* or COPYTREE_* macros. Here, I… | |||||
${INSTALL_LIB} ${WRKSRC}/build/lib/* ${STAGEDIR}${PREFIX}/lib/ | ${INSTALL_LIB} ${WRKSRC}/build/lib/* ${STAGEDIR}${PREFIX}/lib/ | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Would be nice to have a _REASON for this, to help people understand what is broken exactly.