aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xsel-conrad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xsel-conrad/Makefile')
-rw-r--r--x11/xsel-conrad/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xsel-conrad/Makefile b/x11/xsel-conrad/Makefile
index 9f4c31190072..261c3094c7cd 100644
--- a/x11/xsel-conrad/Makefile
+++ b/x11/xsel-conrad/Makefile
@@ -25,6 +25,8 @@ PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS= ChangeLog README
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|jmp_buf|sigjmp_buf|g' ${WRKSRC}/xsel.c
@${REINPLACE_CMD} -e 's|@X_CFLAGS@|${CFLAGS}|;\
@@ -33,9 +35,7 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
-.ifndef NOPORTDOCS
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>