aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pdmenu/Makefile
blob: fd9f0ead1fcc96a81968a2da7e93cd6d2093a5c5 (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
# New ports collection makefile for:    pdmenu
# Date created:     14 December 1998
# Whom:         Neil Blakey-Milner <nbm@rucus.ru.ac.za>
#
# $FreeBSD$

PORTNAME=   pdmenu
PORTVERSION=    1.2.83
PORTREVISION=   0
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   pdmenu_${PORTVERSION}

MAINTAINER= jacques@php.net
COMMENT=    A simple console menu program

LIB_DEPENDS=    slang.1:${PORTSDIR}/devel/libslang

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/pdmenu

MAN1=       pdmenu.1
MAN5=       pdmenurc.5

CC+=        -I${LOCALBASE}/include -L${LOCALBASE}/lib

CONFIGURE_ENV=  SLANG_LIB_LOC='${PREFIX}/lib' \
        SLANG_H_LOC='${PREFIX}/include/slang.h'

pre-install:
    ${MKDIR} ${PREFIX}/lib/pdmenu
    ${MKDIR} ${PREFIX}/share/pdmenu

.include <bsd.port.mk>