diff options
author | araujo <araujo@FreeBSD.org> | 2007-12-22 00:22:29 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2007-12-22 00:22:29 +0800 |
commit | ef9c137f6c300b3c43333db70890d162804feda1 (patch) | |
tree | 4614fa1d07fe890d51254ea70ffbc1cc7013281d /graphics | |
parent | 63af42424d77a115f49641a70a91959c4e24fb34 (diff) | |
download | freebsd-ports-graphics-ef9c137f6c300b3c43333db70890d162804feda1.tar.gz freebsd-ports-graphics-ef9c137f6c300b3c43333db70890d162804feda1.tar.zst freebsd-ports-graphics-ef9c137f6c300b3c43333db70890d162804feda1.zip |
- Fix PORTDOCS and PORTEXAMPLES.
- Bump PORTREVISION.
Reported by: sat
Approved by: stas (mentor, implicit)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ocrad/Makefile | 10 | ||||
-rw-r--r-- | graphics/ocrad/pkg-plist | 12 |
2 files changed, 16 insertions, 6 deletions
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile index 76fcd3899b7..f2c6334f8db 100644 --- a/graphics/ocrad/Makefile +++ b/graphics/ocrad/Makefile @@ -7,6 +7,7 @@ PORTNAME= ocrad PORTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,20 +24,17 @@ CONFIGURE_ARGS= --prefix=${PREFIX} MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ CXX="${CXX}" -PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO INSTALL +DOCS= AUTHORS COPYING ChangeLog NEWS README TODO INSTALL EXAMPLES= test.pbm test.txt INFO= ocrad MAN1= ocrad.1 -PLIST_FILES= bin/ocrad ${EXAMPLES:S,^,%%EXAMPLESDIR%%/,} -PLIST_DIRS= %%EXAMPLESDIR%% - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ocrad ${PREFIX}/bin/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/ocrad.info ${PREFIX}/info/ + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/doc/ocrad.info ${PREFIX}/${INFO_PATH}/ ${INSTALL_MAN} ${WRKSRC}/doc/ocrad.1 ${MAN1PREFIX}/man/man1/ .endif .if !defined(NOPORTEXAMPLES) diff --git a/graphics/ocrad/pkg-plist b/graphics/ocrad/pkg-plist new file mode 100644 index 00000000000..0cbf506ffb4 --- /dev/null +++ b/graphics/ocrad/pkg-plist @@ -0,0 +1,12 @@ +bin/ocrad +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%EXAMPLESDIR%%/test.pbm +%%PORTDOCS%%%%EXAMPLESDIR%%/test.txt +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |