1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

sysutils/fonteditfs: Fix on FreeBSD 10+, support stage

PR:		ports/185405
Submitted by;	Stephen Hurd
Approved by:	maintainer (Uri Shaked)
Staged by:	marino@
This commit is contained in:
John Marino 2014-01-25 14:38:47 +00:00
parent 2fd149f040
commit 160356d9c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341040
2 changed files with 10 additions and 9 deletions

View File

@ -6,17 +6,15 @@ PORTVERSION= 1.2
CATEGORIES= sysutils
MASTER_SITES= SF
DISTNAME= fnteditfs-${PORTVERSION}
EXTRACT_SUFX=.tgz
EXTRACT_SUFX= .tgz
MAINTAINER= uri@keves.org
COMMENT= Full screen syscons font editor
MAN1= fnteditfs.1
PLIST_FILES= bin/fnteditfs
PLIST_FILES= bin/fnteditfs man/man1/fnteditfs.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \
@${REINPLACE_CMD} -e 's|__PREFIX__|${STAGEDIR}${PREFIX}|g ; \
s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \
s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2003-09-20 12:17:34.000000000 -0300
+++ Makefile 2009-08-29 14:56:21.000000000 -0300
@@ -2,12 +2,7 @@
--- Makefile.orig 2003-09-20 08:17:34.000000000 -0700
+++ Makefile 2014-01-01 12:27:59.000000000 -0800
@@ -2,14 +2,9 @@
# - TODO: MAKE NEATER ONE
# This makefile should work under most POSIX OSes (at least FreeBSD)
@ -12,8 +12,11 @@
-
+all: fnteditfs
fnteditfs: fnteditfs.o font.o stack.o
gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses
- gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses
+ ${CC} -o fnteditfs fnteditfs.o font.o stack.o -lcurses
strip fnteditfs
fnteditfs.o: fnteditfs.c font.h stack.h
@@ -17,8 +12,8 @@
stack.o: stack.c stack.h