aboutsummaryrefslogtreecommitdiffstats
path: root/www/aswedit/Makefile
blob: d6e786f82ff0b6309179f8f65d54f93840fa3cc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: brett@peloton.physics.montana.edu
# $FreeBSD$

PORTNAME=   asWedit
PORTVERSION=    4.0.1
PORTREVISION=   3
CATEGORIES= www editors linux
MASTER_SITES=   ftp://sunsite.icm.edu.pl/pub/www/asWedit/ \
        http://freebsd.eeg3.net/distfiles/
DISTNAME=   asWedit-4.0-i386.linux

MAINTAINER= ports@FreeBSD.org
COMMENT=    Easy to use HTML and text editor

RESTRICTED= Commercial software

ONLY_FOR_ARCHS= i386
USE_LINUX=  yes

WRKSRC=     ${WRKDIR}/asWedit-4.0.1

NO_STAGE=   yes
do-build:
    ${BRANDELF} -t Linux ${WRKSRC}/asWedit

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/asWedit ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/asWedit.hlp ${PREFIX}/lib

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
    @${ECHO_MSG} "Be sure to read the license agreement in"
    @${ECHO_MSG} "${PREFIX}/share/doc/asWedit/LICENSE."
.endif

.include <bsd.port.mk>