diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-02-02 22:42:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-02-02 22:42:55 +0000 |
commit | 6243479e81208a29b8f8a36570119bd0d93565a6 (patch) | |
tree | d09ed8b0d7d3a6126164b29a971e6e8fb1b73cc9 /lang/bwbasic | |
parent | 283c0e8836b935cb032c041547a6fa1e21b89bfa (diff) | |
download | ports-6243479e81208a29b8f8a36570119bd0d93565a6.tar.gz ports-6243479e81208a29b8f8a36570119bd0d93565a6.zip |
Notes
Diffstat (limited to 'lang/bwbasic')
-rw-r--r-- | lang/bwbasic/Makefile | 22 | ||||
-rw-r--r-- | lang/bwbasic/pkg-plist | 47 |
2 files changed, 15 insertions, 54 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile index a35a589ea024..24617a067c1c 100644 --- a/lang/bwbasic/Makefile +++ b/lang/bwbasic/Makefile @@ -13,21 +13,29 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= The Bywater Basic interpreter +NO_WRKSUBDIR= yes + USE_ZIP= yes USE_DOS2UNIX= yes GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR} MAKE_ARGS= CFLAGS="${CFLAGS} -ansi" +ALL_TARGET= ${PORTNAME} + +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/${PORTNAME} post-patch: - ${CHMOD} a+x ${WRKDIR}/configure + @${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT} -.if !defined(NOPORTDOCS) post-install: - ${MKDIR} ${DOCSDIR} - ${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/bwbasic.doc ${DOCSDIR} - ${CP} -r ${WRKSRC}/bwbtest ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff --git a/lang/bwbasic/pkg-plist b/lang/bwbasic/pkg-plist deleted file mode 100644 index 2d0c3cd90d37..000000000000 --- a/lang/bwbasic/pkg-plist +++ /dev/null @@ -1,47 +0,0 @@ -bin/bwbasic -%%PORTDOCS%%%%DOCSDIR%%/bwbasic.doc -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/abs.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/assign.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/callfunc.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/callsub.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/chain1.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/chain2.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/dataread.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/deffn.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/dim.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/doloop.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/dowhile.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/elseif.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/end.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/err.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/fncallfn.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/fornext.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/function.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/gosub.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/gotolabl.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/ifline.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/index.txt -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/input.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/lof.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/loopuntl.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/main.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/mlifthen.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/on.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/onerr.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/onerrlbl.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/ongosub.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/opentest.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/option.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/pascaltr.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/putget.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/random.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/selcase.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/snglfunc.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/stop.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/term.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/whilwend.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/width.bas -%%PORTDOCS%%%%EXAMPLESDIR%%/bwbtest/writeinp.bas -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bwbtest -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% |