aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/lupe/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/x11/lupe/Makefile b/x11/lupe/Makefile
index fc5ebb9e9d08..5a47157430af 100644
--- a/x11/lupe/Makefile
+++ b/x11/lupe/Makefile
@@ -23,8 +23,6 @@ LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lm
PORTDOCS= ${PORTNAME}.doc
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-.include <bsd.port.options.mk>
-
post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1
@@ -35,9 +33,9 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>