Unbroke PLIST (improper PORTNAME/PORTVERSION conversion).

Also assure that CFLAGS is respected and remove not used mandatory aout bits
while I'm here.

Submitted by:	bento
This commit is contained in:
Maxim Sobolev 2000-05-30 07:19:09 +00:00
parent 9d0f2d5862
commit bda902cfce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28976
2 changed files with 6 additions and 8 deletions

View File

@ -16,16 +16,14 @@ MAINTAINER= shige@FreeBSD.org
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/libapm
DOCDIR= ${PREFIX}/share/doc/${PORT_NAME}
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
MAN8= ${PORT_NAME}.8
MAN8= ${PORTNAME}.8
MANLANG= . ja
BROKEN= "PLIST is incorrect"
post-install:
# install japanese manpage also :-)
@${INSTALL_MAN} ${WRKSRC}/libapm-j.man ${PREFIX}/man/ja/man8/${PORT_NAME}.8
@${INSTALL_MAN} ${WRKSRC}/libapm-j.man ${PREFIX}/man/ja/man8/${PORTNAME}.8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/README-e.1st ${DOCDIR}/README.1st

View File

@ -1,5 +1,5 @@
--- Makefile.orig Thu Jun 18 19:44:09 1998
+++ Makefile Thu Nov 26 12:36:44 1998
--- Makefile.orig Thu Jun 18 13:44:09 1998
+++ Makefile Tue May 30 10:05:47 2000
@@ -1,17 +1,18 @@
OBJ = libapm.o bios.o smi.o
PROGRAM = libapm
@ -24,7 +24,7 @@
-CFLAGS = -O2 #-DLIBRETTO -DDEBUG
+#DEFS= -DLIBRETTO -DDEBUG
+CFLAGS = -pipe -O $(DEFS)
+CFLAGS += $(DEFS)
+
+all: $(PROGRAM)