diff options
author | pawel <pawel@FreeBSD.org> | 2012-12-04 23:42:35 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-12-04 23:42:35 +0800 |
commit | 33e48a32a21b9cd1a2f8d111513d40d16caa5e27 (patch) | |
tree | 8bc272f1bb259f4d2e15fbbd67e9e1cad1c2735d /graphics | |
parent | ad3faea698ad252dd48b04285585136ba5ff4456 (diff) | |
download | freebsd-ports-gnome-33e48a32a21b9cd1a2f8d111513d40d16caa5e27.tar.gz freebsd-ports-gnome-33e48a32a21b9cd1a2f8d111513d40d16caa5e27.tar.zst freebsd-ports-gnome-33e48a32a21b9cd1a2f8d111513d40d16caa5e27.zip |
- Switch to PLIST_FILES, PORTDATA, PORTDOCS
- Add LICENSE
- Convert to OptionsNG
- Take maintainership
PR: ports/173268
Submitted by: nemysis <nemysis@gmx.ch>
Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cadubi/Makefile | 30 | ||||
-rw-r--r-- | graphics/cadubi/pkg-plist | 7 |
2 files changed, 19 insertions, 18 deletions
diff --git a/graphics/cadubi/Makefile b/graphics/cadubi/Makefile index e00692c680f9..3e8552b4cc42 100644 --- a/graphics/cadubi/Makefile +++ b/graphics/cadubi/Makefile @@ -1,33 +1,41 @@ -# Ports collection makefile for: cadubi -# Date created: 24 Aug 2001 -# Whom: Kris Kennaway <kris@FreeBSD.org> -# +# Created by: Kris Kennaway <kris@FreeBSD.org> # $FreeBSD$ -# PORTNAME= cadubi PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= graphics editors MASTER_SITES= http://langworth.com/pub/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= ASCII drawing utility +LICENSE= ART10 + RUN_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey USE_PERL5= yes NO_BUILD= yes +PLIST_FILES= bin/${PORTNAME} + +PORTDATA= * +PORTDOCS= * + +.include <bsd.port.options.mk> + do-configure: @${PERL} -pi -e \ 's|Bin/help|Bin/../share/cadubi/help|g' ${WRKSRC}/cadubi do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/cadubi ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/help.txt ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/logo.txt ${DATADIR} -.if !defined(NOPORTDOCS) + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${DATADIR} +.for d in help.txt logo.txt + @(cd ${WRKSRC} && ${INSTALL_DATA} ${d} ${DATADIR}) +.endfor + +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/extras/ansi_term_codes.txt ${DOCSDIR} diff --git a/graphics/cadubi/pkg-plist b/graphics/cadubi/pkg-plist deleted file mode 100644 index 6286a23b54b7..000000000000 --- a/graphics/cadubi/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/cadubi -%%DATADIR%%/help.txt -%%DATADIR%%/logo.txt -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/ansi_term_codes.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DATADIR%% |