1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- STAGE-clean

This commit is contained in:
Pietro Cerutti 2014-06-30 15:33:35 +00:00
parent 55bcd241af
commit 1be0afa923
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359866
2 changed files with 5 additions and 6 deletions

View File

@ -13,13 +13,13 @@ COMMENT= Comprehensive, modular, and portable cryptographic toolkit
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE= makefile
MAKE_ARGS= DESTDIR="${PREFIX}" LIBPATH="/lib" INCPATH="/include" \
DATAPATH="${DOCSDIR}/pdf"
MAKE_ARGS= DESTDIR="${STAGEDIR}" LIBPATH="${PREFIX}/lib" \
INCPATH="${PREFIX}/include" DATAPATH="${DOCSDIR}/pdf"
USES= gmake tar:bzip2
ALL_TARGET= library
CFLAGS+= -I${PREFIX}/include
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= LIBTOMMATH
@ -28,7 +28,6 @@ OPTIONS_MULTI_MATH= LIBTOMMATH TOMSFASTMATH GMP
LIBTOMMATH_DESC= Use LibTomMath
TOMSFASTMATH_DESC= Use TomsFastMath
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBTOMMATH}

View File

@ -31,8 +31,8 @@
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
ifndef NODOCS
- install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+ install -d -g $(GROUP) -o $(USER) $(DATAPATH)
+ install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DATAPATH)
+ install -d -g $(GROUP) -o $(USER) ${DESTDIR}$(DATAPATH)
+ install -g $(GROUP) -o $(USER) doc/crypt.pdf ${DESTDIR}$(DATAPATH)
endif
install_test: testprof/$(LIBTEST)