From 86d803358aa25e28d829ec32889320e38105710d Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 24 Feb 2014 13:31:31 +0000 Subject: [PATCH] Support stage --- x11-wm/devilspie/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/x11-wm/devilspie/Makefile b/x11-wm/devilspie/Makefile index 9f751a92c99e..d5f0b91a5846 100644 --- a/x11-wm/devilspie/Makefile +++ b/x11-wm/devilspie/Makefile @@ -8,29 +8,27 @@ CATEGORIES= x11-wm MASTER_SITES= http://www.burtonini.com/computing/ MAINTAINER= ports@FreeBSD.org -COMMENT= A window manipulation tool +COMMENT= Window manipulation tool + +OPTIONS_DEFINE= DOCS USE_GNOME= libwnck -USE_GMAKE= yes GNU_CONFIGURE= yes -USES= pkgconfig gettext +USES= pkgconfig gettext gmake CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= devilspie.1 PORTDOCS= AUTHORS NEWS README TODO PLIST_FILES= bin/devilspie \ + man/man1/devilspie.1.gz \ share/locale/de/LC_MESSAGES/devilspie.mo -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||' \ ${WRKSRC}/src/Makefile.in post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include