aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqlite-ext-miscfuncs/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-05-16 11:11:14 +0800
committervanilla <vanilla@FreeBSD.org>2014-05-16 11:11:14 +0800
commitaf53c35f8bf605fba3f90e92914ac5b8c890ba3d (patch)
treece66c44f5a288ca1e23ce6e146006ffdaa607ba7 /databases/sqlite-ext-miscfuncs/Makefile
parent2b62d664d2013404ee2204476f43b52f04c1db11 (diff)
downloadfreebsd-ports-gnome-af53c35f8bf605fba3f90e92914ac5b8c890ba3d.tar.gz
freebsd-ports-gnome-af53c35f8bf605fba3f90e92914ac5b8c890ba3d.tar.zst
freebsd-ports-gnome-af53c35f8bf605fba3f90e92914ac5b8c890ba3d.zip
Support STAGEDIR.
Diffstat (limited to 'databases/sqlite-ext-miscfuncs/Makefile')
-rw-r--r--databases/sqlite-ext-miscfuncs/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/databases/sqlite-ext-miscfuncs/Makefile b/databases/sqlite-ext-miscfuncs/Makefile
index 4daae2d0c149..5fd4ae1d67c4 100644
--- a/databases/sqlite-ext-miscfuncs/Makefile
+++ b/databases/sqlite-ext-miscfuncs/Makefile
@@ -35,19 +35,17 @@ PORTDOCS= README
CFLAGS+= -I${PREFIX}/include -fPIC -lm -shared
-NO_STAGE= yes
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE}
do-install:
- @${INSTALL} -d ${PREFIX}/libexec/${DIST_SUBDIR}
- @${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${INST_DIR}
+ @${INSTALL} -d ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}
post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
- @${CP} ${WRKDIR}/${PORTDOCS} ${DOCSDIR}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @${CP} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>