blob: 60e1ab79f151f83f3d3a5edd4b5acdac197e70b0 (
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
|
# Created by: Marin Atanasov <dnaeon@gmail.com>
# $FreeBSD$
PORTNAME= pkg_add_it
PORTVERSION= 1.3.2
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.unix-heaven.org/FreeBSD/distfiles/
MAINTAINER= dnaeon@gmail.com
COMMENT= Interactive tool for package installation
MAN1= pkg_add_it.1
MAN5= pkg_add_it.conf.5
PLIST_FILES= etc/pkg_add_it.conf sbin/pkg_add_it
NO_STAGE= yes
.include <bsd.port.pre.mk>
PKG_RELEASE!= ${UNAME} -r | ${CUT} -d '-' -f 1,2 | ${SED} -e 's|\.[0-9]*.*|-STABLE|'
post-patch:
${REINPLACE_CMD} -e 's|@PKG_ARCH@|${ARCH}|' \
-e 's|@PKG_RELEASE@|${PKG_RELEASE:L}|' ${WRKSRC}/pkg_add_it.conf
do-install:
${INSTALL_DATA} ${WRKSRC}/pkg_add_it.conf ${PREFIX}/etc/
${INSTALL_PROGRAM} ${WRKSRC}/pkg_add_it ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/pkg_add_it.1 ${MAN1PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/pkg_add_it.conf.5 ${MAN5PREFIX}/man/man5/
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>
|