diff options
author | eadler <eadler@FreeBSD.org> | 2013-03-26 03:14:43 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-03-26 03:14:43 +0800 |
commit | 829086f391d67260ccc3007dc40423d9941b869e (patch) | |
tree | c71927c24616b647a0be8594203b80a737a11e2a /x11/libsx | |
parent | 11b654553e6799f28ab93b56abaf6a16d6806ab0 (diff) | |
download | freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.gz freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.zst freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.zip |
For some of the unmaintained ports in the x11 category convert them to OptionsNG
While here, trim the headers
Diffstat (limited to 'x11/libsx')
-rw-r--r-- | x11/libsx/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/libsx/Makefile b/x11/libsx/Makefile index 3724329e5f92..ae246626e849 100644 --- a/x11/libsx/Makefile +++ b/x11/libsx/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libsx -# Date created: 5 December 1996 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD$ -# PORTNAME= libsx PORTVERSION= 1.1 @@ -23,6 +19,8 @@ USE_XORG= x11 xaw xext xmu xt ALL_TARGET= src freq MAKE_JOBS_UNSAFE= yes +.include <bsd.port.options.mk> + do-install: ${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${PREFIX}/lib @@ -31,7 +29,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${PREFIX}/include/X11/libsx post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/libsx ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx ${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc |