From cb5ed005eff9729d2361a050cdb78de30d505041 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 30 Oct 2013 16:31:33 +0000 Subject: - Support staging --- graphics/liblqr-1/Makefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'graphics') 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 .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 -- cgit