1c40c50f4c
- Plug memory leak [1] - Convert to USES=localbase - Drop unused X11 dependencies - Unsilence install commands - Convert DOCS to target helpers - Reorder some lines PR: 212261 Submitted by: Tobias Kortkamp <t@tobik.me> Obtained from: OpenBSD Ports [1] Approved by: maintainer timeout (2 months) MFH: 2016Q4
39 lines
981 B
Makefile
39 lines
981 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xsel
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://www.vergenet.net/~conrad/software/xsel/download/
|
|
PKGNAMESUFFIX= -conrad
|
|
|
|
MAINTAINER= code@apotheon.net
|
|
COMMENT= Access X selection from command line
|
|
|
|
LICENSE= xsel-conrad
|
|
LICENSE_GROUPS= COPYFREE
|
|
LICENSE_NAME= xsel-conrad license
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
CONFLICTS_INSTALL= xsel-[0-9]*
|
|
|
|
USES= autoreconf localbase
|
|
USE_XORG= x11 xt
|
|
GNU_CONFIGURE= yes
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
PORTDOCS= ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
|
|
|
|
do-install-DOCS-on:
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
|
|
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|