aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-31 00:31:33 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-31 00:31:33 +0800
commitcb5ed005eff9729d2361a050cdb78de30d505041 (patch)
treeffb55b8c0cafabbcc36fbb3cfb5cea2283aff6d7 /graphics
parent326f0def948a6f1b985f2da4ff0e09aeadc8a94e (diff)
downloadfreebsd-ports-gnome-cb5ed005eff9729d2361a050cdb78de30d505041.tar.gz
freebsd-ports-gnome-cb5ed005eff9729d2361a050cdb78de30d505041.tar.zst
freebsd-ports-gnome-cb5ed005eff9729d2361a050cdb78de30d505041.zip
- Support staging
Diffstat (limited to 'graphics')
-rw-r--r--graphics/liblqr-1/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/graphics/liblqr-1/Makefile b/graphics/liblqr-1/Makefile
index dd73c1c06f83..4642d3a1e46b 100644
--- a/graphics/liblqr-1/Makefile
+++ b/graphics/liblqr-1/Makefile
@@ -23,9 +23,9 @@ USE_CSTD= gnu89
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES HTMLDOCS
+OPTIONS_DEFAULT=EXAMPLES
HTMLDOCS_DESC= Build and install HTML documentation
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
@@ -57,16 +57,10 @@ post-build:
post-install:
.if ${PORT_OPTIONS:MHTMLDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-
-.if !exists(${LOCALBASE}/lib/libpngwriter.a)
- @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}
.endif
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>