Use MAKE_ARGS, PLIST_FILES & PORTDOCS

This commit is contained in:
Volker Stolz 2005-04-21 12:05:05 +00:00
parent adeb7ff895
commit fd44365e7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133839
3 changed files with 5 additions and 12 deletions

View File

@ -14,6 +14,11 @@ MASTER_SITE_SUBDIR= geekcode
MAINTAINER= ports@FreeBSD.org
COMMENT= A Geek Code Generator
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/geekcode
PORTDOCS= geekcode.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
.if !defined(NOPORTDOCS)

View File

@ -1,9 +0,0 @@
--- Makefile.orig Mon Feb 21 20:49:20 2000
+++ Makefile Mon Feb 21 20:49:41 2000
@@ -1,6 +1,4 @@
-CFLAGS=-O3 -s
TARGET=geekcode
-CC=gcc
SRCFILES = gc_appearance.c \
gc_computers.c \

View File

@ -1,3 +0,0 @@
bin/geekcode
%%PORTDOCS%%%%DOCSDIR%%/geekcode.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%