aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-03 06:40:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-03 06:40:14 +0800
commit561ec4128848aabd561c8cb10f82fd0e638c8433 (patch)
tree3fa5d959d871dc18838fb7d94081cb7211055fff /x11
parent3509360f8224bd2ce443bd4d23de9f8a6a1c5810 (diff)
downloadfreebsd-ports-gnome-561ec4128848aabd561c8cb10f82fd0e638c8433.tar.gz
freebsd-ports-gnome-561ec4128848aabd561c8cb10f82fd0e638c8433.tar.zst
freebsd-ports-gnome-561ec4128848aabd561c8cb10f82fd0e638c8433.zip
- Switch to options helpers
Diffstat (limited to 'x11')
-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>