aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnosamba/Makefile
blob: e3ac86b3a068471b6a2587680fff660595c6f646 (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:    gnosamba
# Date created:             4 November 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   gnosamba
PORTVERSION=    0.3.3
PORTREVISION=   1
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/g/gnosamba
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    Samba configuration tool for X Window System

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig

PLIST_FILES=    bin/gnosamba
USE_X_PREFIX=   yes
USE_GNOME=  gnomelibs
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c

.include <bsd.port.mk>