aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xdms/Makefile
blob: 3f8969ca3251390e8c64783878a55381446d0e1e (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
# New ports collection makefile for:    xdms
# Date created:         Apr 13, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   xdms
PORTVERSION=    1.3
CATEGORIES= archivers
MASTER_SITES=   http://www.ee.tut.fi/~heikki/xdms/
DISTNAME=   xdms

MAINTAINER= markp@FreeBSD.org

USE_ZIP=    yes
WRKSRC=     ${WRKDIR}/xdms/src
ALL_TARGET= xdms

pre-build:
    ${PERL} -pi -e "s@gcc@${CC}@g; s@-O3 -Wall@${CFLAGS} -Wall@g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xdms ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/xdms
    ${INSTALL_DATA} ${WRKDIR}/xdms/xdms.txt ${PREFIX}/share/doc/xdms
.endif

.include <bsd.port.mk>