From 4f943931cd04bcc15b8e9fa5433c128a0312cb91 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 16 Jun 2014 12:18:26 +0000 Subject: Stagify. Approved by: portmgr@ --- graphics/white_dune/Makefile | 11 ++++------- graphics/white_dune/pkg-plist | 2 ++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile index 504655110e2b..f19b26eaf59f 100644 --- a/graphics/white_dune/Makefile +++ b/graphics/white_dune/Makefile @@ -35,11 +35,8 @@ LDFLAGS+= `${SDL_CONFIG} --libs` ALL_TARGET= dune REINPLACE_ARGS= -i '' -MAN1= dune.1 illegal2vrml.1 - OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include # Try to fix parallel builds (-jX) by calling submakes correctly @@ -48,12 +45,12 @@ post-patch: 's,cd (.+) *(;|&&) *(make|\$$\(MAKE\)),$$(MAKE) -C \1,' do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} dune4kids illegal2vrml \ - ${PREFIX}/bin - cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 + ${STAGEDIR}${PREFIX}/bin + cd ${WRKSRC}/man && ${INSTALL_MAN} dune.1 illegal2vrml.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} - @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} + @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/graphics/white_dune/pkg-plist b/graphics/white_dune/pkg-plist index b29243b411d9..d44bfeac9076 100644 --- a/graphics/white_dune/pkg-plist +++ b/graphics/white_dune/pkg-plist @@ -1,6 +1,8 @@ bin/dune bin/dune4kids bin/illegal2vrml +man/man1/dune.1.gz +man/man1/illegal2vrml.1.gz %%PORTDOCS%%%%DOCSDIR%%/VRML97protos_examples/ParticleSourcePROTO/bubbles.wrl %%PORTDOCS%%%%DOCSDIR%%/VRML97protos_examples/ParticleSourcePROTO/flame.png %%PORTDOCS%%%%DOCSDIR%%/VRML97protos_examples/ParticleSourcePROTO/flame.wrl -- cgit v1.2.3