aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvdid/Makefile
blob: c4ed409d0fcbf52a2c5b46e163ad597adaed1add (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
# Created by: Christopher Key <cjk32@cam.ac.uk>
# $FreeBSD$

PORTNAME=   dvdid
PORTVERSION=    0.2.0a
PORTREVISION=   2
CATEGORIES= multimedia
MASTER_SITES=   http://dvdid.cjkey.org.uk/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool for calculating dvdids

USES=       libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

PORTDOCS=   *
OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} dvdid.tag ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/api
    cd ${WRKSRC}/doc/html/api && ${INSTALL_DATA} * \
        ${STAGEDIR}${DOCSDIR}/html/api

.include <bsd.port.mk>