mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
science/epte: document ncurses, fix DF
While here, unsuppress installation commands per ports convention. Approved by: ncurses blanket + non-invasive DF support
This commit is contained in:
parent
8243b48a1b
commit
46911f1726
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420706
@ -3,12 +3,14 @@
|
||||
|
||||
PORTNAME= epte
|
||||
PORTVERSION= 2.0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://www.toddmiller.com/epte/
|
||||
|
||||
MAINTAINER= culot@FreeBSD.org
|
||||
COMMENT= Electronic Periodic Table of the Elements
|
||||
|
||||
USES= ncurses
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
@ -21,7 +23,7 @@ post-patch:
|
||||
@${REINPLACE_CMD} 's|/usr|${PREFIX}|' ${WRKSRC}/epte.1
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/epte ${STAGEDIR}${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/epte.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/epte ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/epte.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- makefile.orig 2010-09-01 10:41:27.655060824 +0200
|
||||
+++ makefile 2010-09-01 10:46:21.341029572 +0200
|
||||
--- makefile.orig 2012-08-04 20:53:21 UTC
|
||||
+++ makefile
|
||||
@@ -320,13 +320,13 @@ IS_INTERACTIVE= yes
|
||||
#ifdef VMS
|
||||
CC = cc
|
||||
@ -17,7 +17,12 @@
|
||||
#endif
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@ LIBS = -lcursesX -o epte
|
||||
@@ -340,11 +340,11 @@ DISTNAME = [system]
|
||||
LIBS = -lcursesX -o epte
|
||||
#endif
|
||||
# Use ncurses library for linux & FreeBSD
|
||||
-#if defined(linux) || defined(__FreeBSD__)
|
||||
+#if defined(linux) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
LIBS = -lncurses -o epte
|
||||
#endif
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <curses.h>
|
||||
#endif
|
||||
-#if defined(linux) || defined(__FreeBSD)
|
||||
+#if defined(linux) || defined(__FreeBSD__)
|
||||
+#if defined(linux) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#include <ncurses.h>
|
||||
#endif
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
char *file_name;
|
||||
|
||||
-#ifdef VMS
|
||||
+#if defined(VMS) || defined(__FreeBSD__)
|
||||
+#if defined(VMS) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#else
|
||||
|
||||
/* The audio device sometimes does not work if it is left open for a long
|
||||
|
Loading…
Reference in New Issue
Block a user