Stageify.

This commit is contained in:
Gerald Pfeifer 2014-02-24 00:49:40 +00:00
parent 9b4627929c
commit 5ca345972f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345779
2 changed files with 2 additions and 2 deletions

View file

@ -17,8 +17,8 @@ BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
NO_WRKSUBDIR= yes
ALL_TARGET= lib tests
MAKE_JOBS_UNSAFE= yes
MAKE_ENV+= STAGEDIR=${STAGEDIR}
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:

View file

@ -5,7 +5,7 @@
# Change SGBDIR to the directory where all GraphBase files will go:
-SGBDIR = /usr/local/sgb
+SGBDIR = ${PREFIX}
+SGBDIR = ${STAGEDIR}/${PREFIX}
# Change DATADIR to the directory where GraphBase data files will go:
-DATADIR = $(SGBDIR)/data