/sysutils/adtool/

ps://phantom.tfcis.org/~lantw44/git/freebsd-ports-gnome' title='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bbsmount/Makefile
blob: f4e49e286578d9deceed5ed0ad2c35ee1fcb458f (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
39
40
41
42
43
44
45
# New ports collection makefile for:    bbsmount
# Date created:             11 October 2003
# Whom:             Eric J. Christeson <ejc@crackpot.org>
#
# $FreeBSD$
#

PORTNAME=   bbsmount
PORTVERSION=    0.3.0p3
CATEGORIES= sysutils
MASTER_SITES=   http://phoenix.inf.upol.cz/~jezberam/bbsmount/files/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/p/pre/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Graphical disk mounter for the Blackbox slit

USE_X_PREFIX=   yes
WRKSRC=     ${WRKDIR}/${DISTNAME}
USE_XLIB=   yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
USE_GCC=    2.95
PORTDOCS=   README BUGS NEWS AUTHORS ChangeLog

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} "===> Installing documentation"
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${DOCSDIR}
.endif
    if [ ! -e ${PREFIX}/share/bbtools/bbsmount.bb ]; then \
        ${CP} -p ${WRKSRC}/data/bbsmount.bb \
        ${PREFIX}/share/bbtools/bbsmount.bb; \
    fi
    @${INSTALL} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample

.include <bsd.port.post.mk>