aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite-ext-miscfuncs/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
commit4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e (patch)
treea217c2f6b9317591e25a1528cad83dd0d6c1510b /databases/sqlite-ext-miscfuncs/Makefile
parentf7622d1fc81f368c475b5acccae9b33957754f02 (diff)
downloadports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.tar.gz
ports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.zip
Nuke NOPORTDOCS. While, here, correct a couple offenders who label examples
with PORTDOCS. And, fix a couple WITH_foo invocations.
Notes
Notes: svn path=/head/; revision=360463
Diffstat (limited to 'databases/sqlite-ext-miscfuncs/Makefile')
-rw-r--r--databases/sqlite-ext-miscfuncs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/sqlite-ext-miscfuncs/Makefile b/databases/sqlite-ext-miscfuncs/Makefile
index 5fd4ae1d67c4..e2ccd6d762f4 100644
--- a/databases/sqlite-ext-miscfuncs/Makefile
+++ b/databases/sqlite-ext-miscfuncs/Makefile
@@ -35,6 +35,8 @@ PORTDOCS= README
CFLAGS+= -I${PREFIX}/include -fPIC -lm -shared
+OPTIONS_DEFINE= DOCS
+
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE}
@@ -43,9 +45,7 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}
post-install:
-.if !defined(NOPORTDOCS)
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
@${CP} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>