diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-09-04 20:37:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-09-04 20:37:12 +0800 |
commit | 53d764e4ed164da6d0fbdbe9e5bee0997bc66220 (patch) | |
tree | 7d225d7e681388ce920ca8ced399dd852b4744b2 /graphics | |
parent | 2eca38efd093db70c246448b51c4f05e0395c3a2 (diff) | |
download | freebsd-ports-gnome-53d764e4ed164da6d0fbdbe9e5bee0997bc66220.tar.gz freebsd-ports-gnome-53d764e4ed164da6d0fbdbe9e5bee0997bc66220.tar.zst freebsd-ports-gnome-53d764e4ed164da6d0fbdbe9e5bee0997bc66220.zip |
- Fix license
- Switch to USES=localbase
- Fix hidden dependency on devel/libslang2 [1]
- Add separate option for each supported driver (X11, NCURSES, SLANG)
- Sort plist
PR: 231044 [1]
Reported by: dclarke@blastwave.org [1]
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/aalib/Makefile | 30 | ||||
-rw-r--r-- | graphics/aalib/pkg-plist | 28 |
2 files changed, 29 insertions, 29 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile index 17dafae07449..7189e7e0d0c6 100644 --- a/graphics/aalib/Makefile +++ b/graphics/aalib/Makefile @@ -3,34 +3,34 @@ PORTNAME= aalib DISTVERSION= 1.4rc5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF/aa-project/aa-lib/1.4rc5 MAINTAINER= ports@FreeBSD.org COMMENT= ASCII art library -LICENSE= GPLv2 +LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= X11 - -USES= libtool ncurses makeinfo +USES= libtool localbase makeinfo WRKSRC= ${WRKDIR}/${PORTNAME}-1.4.0 GNU_CONFIGURE= yes USE_LDCONFIG= yes INFO= aalib -LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.options.mk> +OPTIONS_MULTI= DRIVERS +OPTIONS_MULTI_DRIVERS= X11 NCURSES SLANG +OPTIONS_DEFAULT= NCURSES + +DRIVERS_DESC= Drives selection -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 -CONFIGURE_ARGS= --x-includes="${LOCALBASE}/include" \ - --x-libraries="${LOCALBASE}/lib" -.else -CONFIGURE_ARGS= --with-x=no -.endif +X11_USE= XORG=x11 +X11_CONFIGURE_WITH= x11-driver=yes +NCURSES_USES= ncurses +NCURSES_CONFIGURE_WITH= curses-driver=yes +SLANG_LIB_DEPENDS= libslang.so:devel/libslang2 +SLANG_CONFIGURE_WITH= slang-driver=yes post-extract: @${RM} ${WRKSRC}/doc/aalib.info* @@ -47,6 +47,6 @@ post-patch: | ${XARGS} ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaa.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaa.so .include <bsd.port.mk> diff --git a/graphics/aalib/pkg-plist b/graphics/aalib/pkg-plist index 23f04df81ca4..02908ad9e62c 100644 --- a/graphics/aalib/pkg-plist +++ b/graphics/aalib/pkg-plist @@ -1,44 +1,42 @@ bin/aafire bin/aainfo +bin/aalib-config bin/aasavefont bin/aatest -bin/aalib-config include/aalib.h lib/libaa.a lib/libaa.so lib/libaa.so.1 lib/libaa.so.1.0.4 -share/aclocal/aalib.m4 +man/man1/aafire.1.gz man/man3/aa_attrs.3.gz man/man3/aa_autoinit.3.gz +man/man3/aa_autoinitkbd.3.gz +man/man3/aa_autoinitmouse.3.gz man/man3/aa_close.3.gz man/man3/aa_createedit.3.gz man/man3/aa_currentfont.3.gz man/man3/aa_defparams.3.gz -man/man3/aa_autoinitkbd.3.gz -man/man3/aa_autoinitmouse.3.gz man/man3/aa_defrenderparams.3.gz +man/man3/aa_displayrecommended.3.gz man/man3/aa_dithernames.3.gz man/man3/aa_drivers.3.gz -man/man3/mem_d.3.gz man/man3/aa_edit.3.gz -man/man3/aa_fonts.3.gz -man/man3/aa_getkey.3.gz -man/man3/aa_help.3.gz -man/man3/aa_hidecursor.3.gz -man/man3/aa_image.3.gz -man/man3/aa_displayrecommended.3.gz man/man3/aa_editkey.3.gz man/man3/aa_fastrender.3.gz -man/man3/aa_init.3.gz -man/man3/aa_printf.3.gz +man/man3/aa_fonts.3.gz man/man3/aa_formats.3.gz man/man3/aa_getevent.3.gz +man/man3/aa_getkey.3.gz man/man3/aa_getmouse.3.gz man/man3/aa_gotoxy.3.gz +man/man3/aa_help.3.gz +man/man3/aa_hidecursor.3.gz man/man3/aa_hidemouse.3.gz +man/man3/aa_image.3.gz man/man3/aa_imgheight.3.gz man/man3/aa_imgwidth.3.gz +man/man3/aa_init.3.gz man/man3/aa_initkbd.3.gz man/man3/aa_initmouse.3.gz man/man3/aa_kbddrivers.3.gz @@ -48,6 +46,7 @@ man/man3/aa_mmwidth.3.gz man/man3/aa_mousedrivers.3.gz man/man3/aa_mouserecommended.3.gz man/man3/aa_parseoptions.3.gz +man/man3/aa_printf.3.gz man/man3/aa_putpixel.3.gz man/man3/aa_puts.3.gz man/man3/aa_recommendhi.3.gz @@ -71,5 +70,6 @@ man/man3/aa_showmouse.3.gz man/man3/aa_text.3.gz man/man3/aa_uninitkbd.3.gz man/man3/aa_uninitmouse.3.gz +man/man3/mem_d.3.gz man/man3/save_d.3.gz -man/man1/aafire.1.gz +share/aclocal/aalib.m4 |